summaryrefslogtreecommitdiffstats
path: root/x11vnc/xevents.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-17 23:34:25 +0000
committerrunge <runge>2006-12-17 23:34:25 +0000
commit8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f (patch)
tree82a97c679b609325b8df6c2c9a00a85525fde0a1 /x11vnc/xevents.c
parent399a175f0bb44865cbf3d6762ad081e2a49cd4c4 (diff)
downloadlibvncserver-8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f.zip
libvncserver-8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f.tar.gz
x11vnc: first pass at client-side caching, -ncache option.
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r--x11vnc/xevents.c3
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;
}
OpenPOWER on IntegriCloud