From 8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 17 Dec 2006 23:34:25 +0000 Subject: x11vnc: first pass at client-side caching, -ncache option. --- x11vnc/xevents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11vnc/xevents.c') 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; } -- cgit v1.2.1