mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-22 03:13:31 +01:00
wmaker: Moved variable ValidModMask into the global namespace
This commit is contained in:
committed by
Carlos R. Mafra
parent
24ce829f7f
commit
f751cc6a50
@@ -350,7 +350,7 @@ Bool wRootMenuPerformShortcut(XEvent * event)
|
||||
int done = 0;
|
||||
|
||||
/* ignore CapsLock */
|
||||
modifiers = event->xkey.state & ValidModMask;
|
||||
modifiers = event->xkey.state & w_global.shortcut.modifiers_mask;
|
||||
|
||||
for (ptr = shortcutList; ptr != NULL; ptr = ptr->next) {
|
||||
if (ptr->keycode == 0 || ptr->menu->menu->screen_ptr != scr)
|
||||
|
||||
Reference in New Issue
Block a user