summaryrefslogtreecommitdiffstats
path: root/x11vnc/pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r--x11vnc/pointer.c4
1 files changed, 4 insertions, 0 deletions
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: */