mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-27 01:34:24 +03:00
added a keybind todo
This commit is contained in:
parent
f108ec78e2
commit
1923b0d170
@ -36,6 +36,8 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const xkb_keysym_t
|
|||||||
// this little maneouver is gonna cost us 4µs
|
// this little maneouver is gonna cost us 4µs
|
||||||
const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE);
|
const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE);
|
||||||
const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY);
|
const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY);
|
||||||
|
// TODO: fix 0-9 keys and other modified ones with shift
|
||||||
|
// or mention in the fucking wiki
|
||||||
|
|
||||||
if (key != KBKEY && key != KBKEYUPPER)
|
if (key != KBKEY && key != KBKEYUPPER)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user