diff options
author | runge <runge> | 2008-09-07 04:17:33 +0000 |
---|---|---|
committer | runge <runge> | 2008-09-07 04:17:33 +0000 |
commit | d5cba7a574a667f5321194cb05d0b4adcb995866 (patch) | |
tree | 2748fd38612cc63256ee864284cd8dab19f4eba1 /x11vnc/pointer.c | |
parent | dbfa4ad1f78f6133bc5f50e766f7f3bfdb8fa049 (diff) | |
download | libtdevnc-d5cba7a574a667f5321194cb05d0b4adcb995866.tar.gz libtdevnc-d5cba7a574a667f5321194cb05d0b4adcb995866.zip |
x11vnc: kill gui_pid on exit in -connect/-connect_or_exit mode.
-grablocal n experiment (not compiled by default). -macuskbd
option for macosx for orig uskdb code. keycode=N remote contol
cmd. Find dpy look at non-NFS cookies in /tmp. Fix gui tray
insertion on recent gnome dt. Fix connect_file bug. Sync SSVNC
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r-- | x11vnc/pointer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c index 3f5db81..8315fac 100644 --- a/x11vnc/pointer.c +++ b/x11vnc/pointer.c @@ -690,6 +690,9 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { button_mask_prev = button_mask; button_mask = mask; } + if (!view_only && (input.motion || input.button)) { + last_rfb_ptr_injected = dnow(); + } return; } } @@ -714,6 +717,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { last_pointer_client = client; last_pointer_time = now; + last_rfb_ptr_injected = dnow(); if (blackout_ptr && blackouts) { int b, ok = 1; |