mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
wmaker: Moved variables for the Xkb extension into the global namespace
This commit is contained in:
committed by
Carlos R. Mafra
parent
81aa311c42
commit
3995130b79
@@ -81,10 +81,6 @@ extern WShortKey wKeyBindings[WKBD_LAST];
|
||||
|
||||
#define MOD_MASK wPreferences.modifier_mask
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
extern int wXkbEventBase;
|
||||
#endif
|
||||
|
||||
/************ Local stuff ***********/
|
||||
|
||||
static void saveTimestamp(XEvent *event);
|
||||
@@ -551,7 +547,7 @@ static void handleExtensions(XEvent * event)
|
||||
}
|
||||
#endif
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
if (wPreferences.modelock && (xkbevent->type == wXkbEventBase)) {
|
||||
if (wPreferences.modelock && (xkbevent->type == w_global.xext.xkb.event_base)) {
|
||||
handleXkbIndicatorStateNotify(event);
|
||||
}
|
||||
#endif /*KEEP_XKB_LOCK_STATUS */
|
||||
|
||||
Reference in New Issue
Block a user