refactor: XDGKeyUtil no need to add std:: for uint32_t

This commit is contained in:
sithlord48 2025-11-13 12:56:41 -05:00 committed by Nick Bolton
parent 281cda1d14
commit 4d2597c31b
2 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ KeyID XDGKeyUtil::mapKeySymToKeyID(KeySym k)
} }
} }
std::uint32_t XDGKeyUtil::getModifierBitForKeySym(KeySym keysym) uint32_t XDGKeyUtil::getModifierBitForKeySym(KeySym keysym)
{ {
switch (keysym) { switch (keysym) {
case XKB_KEY_Shift_L: case XKB_KEY_Shift_L:

View file

@ -25,14 +25,14 @@ public:
Converts a KeySym to the equivalent KeyID. Returns kKeyNone if the Converts a KeySym to the equivalent KeyID. Returns kKeyNone if the
KeySym cannot be mapped. KeySym cannot be mapped.
*/ */
static std::uint32_t mapKeySymToKeyID(KeySym); static uint32_t mapKeySymToKeyID(KeySym);
//! Convert KeySym to corresponding KeyModifierMask //! Convert KeySym to corresponding KeyModifierMask
/*! /*!
Converts a KeySym to the corresponding KeyModifierMask, or 0 if the Converts a KeySym to the corresponding KeyModifierMask, or 0 if the
KeySym is not a modifier. KeySym is not a modifier.
*/ */
static std::uint32_t getModifierBitForKeySym(KeySym keysym); static uint32_t getModifierBitForKeySym(KeySym keysym);
private: private:
static const KeySymMap s_keySymToUCS4; static const KeySymMap s_keySymToUCS4;