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
@@ -418,13 +418,13 @@ void StartUp(Bool defaultScreenOnly)
|
||||
/*
|
||||
* Ignore CapsLock in modifiers
|
||||
*/
|
||||
ValidModMask = 0xff & ~LockMask;
|
||||
w_global.shortcut.modifiers_mask = 0xff & ~LockMask;
|
||||
|
||||
getOffendingModifiers();
|
||||
/*
|
||||
* Ignore NumLock and ScrollLock too
|
||||
*/
|
||||
ValidModMask &= ~(_NumLockMask | _ScrollLockMask);
|
||||
w_global.shortcut.modifiers_mask &= ~(_NumLockMask | _ScrollLockMask);
|
||||
|
||||
memset(&wKeyBindings, 0, sizeof(wKeyBindings));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user