diff options
author | runge <runge> | 2006-02-25 05:10:37 +0000 |
---|---|---|
committer | runge <runge> | 2006-02-25 05:10:37 +0000 |
commit | 79310af7e7a289d2baf1bdc295daefdcc76ecc0e (patch) | |
tree | da68674a1beef5ce0ba807187657ca5fe215f68c /x11vnc/pointer.c | |
parent | b7773ea6e683e5fcfae5bf020828596c5f90b7d3 (diff) | |
download | libtdevnc-79310af7e7a289d2baf1bdc295daefdcc76ecc0e.tar.gz libtdevnc-79310af7e7a289d2baf1bdc295daefdcc76ecc0e.zip |
x11vnc: -unixpw and -stunnel. Add clipboard to input control.
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 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: */ |