mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
fixes relate modelock.
This commit is contained in:
11
src/screen.c
11
src/screen.c
@@ -88,6 +88,10 @@ extern Atom _XA_WINDOWMAKER_NOTICEBOARD;
|
||||
|
||||
extern int wScreenCount;
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
extern int wXkbSupported;
|
||||
#endif
|
||||
|
||||
extern WDDomain *WDWindowMaker;
|
||||
|
||||
|
||||
@@ -713,8 +717,11 @@ wScreenInit(int screen_number)
|
||||
XSelectInput(dpy, scr->root_win, event_mask);
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
XkbSelectEventDetails(dpy,XkbUseCoreKbd,XkbIndicatorStateNotify,
|
||||
XkbIndicatorStateNotifyMask, XkbIndicatorStateNotifyMask);
|
||||
if (wXkbSupported) {
|
||||
XkbSelectEvents(dpy,XkbUseCoreKbd,
|
||||
XkbStateNotifyMask,
|
||||
XkbStateNotifyMask);
|
||||
}
|
||||
#endif /* KEEP_XKB_LOCK_STATUS */
|
||||
|
||||
XSync(dpy, False);
|
||||
|
||||
Reference in New Issue
Block a user