summaryrefslogtreecommitdiffstats
path: root/x11vnc/pointer.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-29 07:21:37 +0000
committerrunge <runge>2006-12-29 07:21:37 +0000
commit833f06025fbd2fa8d4d83ccf8ab068c8060663de (patch)
tree1b20fdc2575d12b66e28d6e608dd54b3cacb2766 /x11vnc/pointer.c
parente4a397ed13a2c6eb9d2da7870165e7ecdc67f461 (diff)
downloadlibtdevnc-833f06025fbd2fa8d4d83ccf8ab068c8060663de.tar.gz
libtdevnc-833f06025fbd2fa8d4d83ccf8ab068c8060663de.zip
x11vnc -ncache on by default for beta test. fix -nofb & -rawfb modes.
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r--x11vnc/pointer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c
index 617da83..803e793 100644
--- a/x11vnc/pointer.c
+++ b/x11vnc/pointer.c
@@ -414,12 +414,13 @@ void do_button_mask_change(int mask, int button) {
*/
static void update_x11_pointer_mask(int mask) {
#if NO_X11
+ last_event = last_input = last_pointer_input = time(NULL);
+
RAWFB_RET_VOID
if (!mask) {}
return;
#else
int snapped = 0, xr_mouse = 1, i;
-
last_event = last_input = last_pointer_input = time(NULL);
RAWFB_RET_VOID