From 79310af7e7a289d2baf1bdc295daefdcc76ecc0e Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 25 Feb 2006 05:10:37 +0000 Subject: x11vnc: -unixpw and -stunnel. Add clipboard to input control. --- x11vnc/pointer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'x11vnc/pointer.c') diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c index b7f73fb..56f6ccf 100644 --- a/x11vnc/pointer.c +++ b/x11vnc/pointer.c @@ -10,6 +10,7 @@ #include "userinput.h" #include "connections.h" #include "cleanup.h" +#include "unixpw.h" int pointer_queued_sent = 0; @@ -603,6 +604,9 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { last_x = x; last_y = y; } + if (mask >= 0 && unixpw && unixpw_in_progress) { + return; + } if (scaling) { /* map from rfb size to X11 size: */ -- cgit v1.2.3