summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-28 05:24:25 +0000
committerrunge <runge>2006-12-28 05:24:25 +0000
commit56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18 (patch)
tree34da978baeba2c625611bcaaf8cba8571ab00f8b /x11vnc/xevents.c
parent8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f (diff)
downloadlibtdevnc-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.tar.gz
libtdevnc-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.zip
x11vnc: more work on -ncache.
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c2
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;
}