mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +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
@@ -71,10 +71,6 @@
|
||||
|
||||
/**** Global variables ****/
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
extern int wXkbSupported;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XRANDR
|
||||
Bool has_randr;
|
||||
int randr_event_base;
|
||||
@@ -548,7 +544,7 @@ WScreen *wScreenInit(int screen_number)
|
||||
/* Only GroupLock doesn't work correctly in my system since right-alt
|
||||
* can change mode while holding it too - ]d
|
||||
*/
|
||||
if (wXkbSupported) {
|
||||
if (w_global.xext.xkb.supported) {
|
||||
XkbSelectEvents(dpy, XkbUseCoreKbd, XkbStateNotifyMask, XkbStateNotifyMask);
|
||||
}
|
||||
#endif /* KEEP_XKB_LOCK_STATUS */
|
||||
|
||||
Reference in New Issue
Block a user