diff options
author | runge <runge> | 2006-12-17 23:34:25 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-17 23:34:25 +0000 |
commit | 8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f (patch) | |
tree | 82a97c679b609325b8df6c2c9a00a85525fde0a1 /x11vnc/xevents.c | |
parent | 399a175f0bb44865cbf3d6762ad081e2a49cd4c4 (diff) | |
download | libtdevnc-8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f.tar.gz libtdevnc-8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f.zip |
x11vnc: first pass at client-side caching, -ncache option.
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; } |