mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
wmaker: make disable mouse actions a live set
This patch is allowing to enable or disable the 'disable mouse actions' from the WPrefs app without requiring to restart the session.
This commit is contained in:
committed by
Carlos R. Mafra
parent
51b342fee5
commit
fec8347d27
@@ -524,11 +524,6 @@ WScreen *wScreenInit(int screen_number)
|
||||
oldHandler = XSetErrorHandler(alreadyRunningError);
|
||||
|
||||
event_mask = EVENT_MASK;
|
||||
|
||||
if (wPreferences.disable_root_mouse) {
|
||||
event_mask &= ~(ButtonPressMask | ButtonReleaseMask);
|
||||
}
|
||||
|
||||
XSelectInput(dpy, scr->root_win, event_mask);
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
|
||||
Reference in New Issue
Block a user