diff options
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r-- | x11vnc/xevents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index e54c106..83fce6d 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -107,7 +107,8 @@ static void initialize_xevents(int reset) { * XXX: does this cause a flood of other stuff? */ X_LOCK; - XSelectInput(dpy, rootwin, PropertyChangeMask); + xselectinput_rootwin |= PropertyChangeMask; + XSelectInput(dpy, rootwin, xselectinput_rootwin); X_UNLOCK; did_xselect_input = 1; } |