mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
wmaker: Moved variable ValidModMask into the global namespace
This commit is contained in:
committed by
Carlos R. Mafra
parent
24ce829f7f
commit
f751cc6a50
@@ -1311,7 +1311,7 @@ static void handleKeyPress(XEvent * event)
|
||||
#endif /*KEEP_XKB_LOCK_STATUS */
|
||||
|
||||
/* ignore CapsLock */
|
||||
modifiers = event->xkey.state & ValidModMask;
|
||||
modifiers = event->xkey.state & w_global.shortcut.modifiers_mask;
|
||||
|
||||
for (i = 0; i < WKBD_LAST; i++) {
|
||||
if (wKeyBindings[i].keycode == 0)
|
||||
|
||||
Reference in New Issue
Block a user