summaryrefslogtreecommitdiffstats
path: root/x11vnc/xrecord.c
diff options
context:
space:
mode:
authorrunge <runge>2006-02-25 05:10:37 +0000
committerrunge <runge>2006-02-25 05:10:37 +0000
commit79310af7e7a289d2baf1bdc295daefdcc76ecc0e (patch)
treeda68674a1beef5ce0ba807187657ca5fe215f68c /x11vnc/xrecord.c
parentb7773ea6e683e5fcfae5bf020828596c5f90b7d3 (diff)
downloadlibtdevnc-79310af7e7a289d2baf1bdc295daefdcc76ecc0e.tar.gz
libtdevnc-79310af7e7a289d2baf1bdc295daefdcc76ecc0e.zip
x11vnc: -unixpw and -stunnel. Add clipboard to input control.
Diffstat (limited to 'x11vnc/xrecord.c')
-rw-r--r--x11vnc/xrecord.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/xrecord.c b/x11vnc/xrecord.c
index 7162167..b388c3a 100644
--- a/x11vnc/xrecord.c
+++ b/x11vnc/xrecord.c
@@ -7,6 +7,7 @@
#include "userinput.h"
#include "winattr_t.h"
#include "scrollevent_t.h"
+#include "unixpw.h"
#define SCR_EV_MAX 128
scroll_event_t scr_ev[SCR_EV_MAX];
@@ -1303,6 +1304,7 @@ static void check_xrecord_grabserver(void) {
if (!gdpy_ctrl || !gdpy_data) {
return;
}
+ if (unixpw_in_progress) return;
dtime0(&d);
XFlush(gdpy_ctrl);
@@ -1437,6 +1439,8 @@ void check_xrecord_reset(int force) {
return;
}
+ if (unixpw_in_progress) return;
+
#if LIBVNCSERVER_HAVE_RECORD
if (! rc_scroll) {
return;