diff options
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r-- | x11vnc/xevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index 83fce6d..ad95049 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -108,7 +108,7 @@ static void initialize_xevents(int reset) { */ X_LOCK; xselectinput_rootwin |= PropertyChangeMask; - XSelectInput(dpy, rootwin, xselectinput_rootwin); + XSelectInput_wr(dpy, rootwin, xselectinput_rootwin); X_UNLOCK; did_xselect_input = 1; } |