diff options
author | runge <runge> | 2008-11-22 18:36:33 +0000 |
---|---|---|
committer | runge <runge> | 2008-11-22 18:36:33 +0000 |
commit | 6fbba525a924961083bf2e43bb841bd15671f526 (patch) | |
tree | 3ec0cf4b285fb0140294a151b801c91bc78a612e /x11vnc/xrecord.c | |
parent | 63b98dba790fa9835e970b8502d93258862a9373 (diff) | |
download | libtdevnc-6fbba525a924961083bf2e43bb841bd15671f526.tar.gz libtdevnc-6fbba525a924961083bf2e43bb841bd15671f526.zip |
x11vnc: x11vnc.desktop file. -reopen, -dhparams, -sslCRL,
-setdefer options. -rfbport PROMPT VeNCrypt and TLSVNC SSL/TLS
encryption support. Tweaks to choose_delay() algorithm.
-ssl ANON anonymouse Diffie-Hellman mode. Fix bugs in certs
management. Additions to tray=setpass naive user mode.
Diffstat (limited to 'x11vnc/xrecord.c')
-rw-r--r-- | x11vnc/xrecord.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11vnc/xrecord.c b/x11vnc/xrecord.c index a15dc1c..81b319b 100644 --- a/x11vnc/xrecord.c +++ b/x11vnc/xrecord.c @@ -32,11 +32,13 @@ Display *rdpy_data = NULL; /* Data connection for RECORD */ Display *rdpy_ctrl = NULL; /* Control connection for RECORD */ Display *gdpy_ctrl = NULL; +Display *gdpy_data = NULL; int xserver_grabbed = 0; int trap_record_xerror(Display *, XErrorEvent *); void initialize_xrecord(void); +void zerodisp_xrecord(void); void shutdown_xrecord(void); int xrecord_skip_keysym(rfbKeySym keysym); int xrecord_skip_button(int new, int old); @@ -57,7 +59,6 @@ static XRecordContext rc_grab; static XRecordClientSpec rcs_grab; #endif static XErrorEvent *trapped_record_xerror_event; -static Display *gdpy_data = NULL; static void xrecord_grabserver(int start); static int xrecord_vi_scroll_keysym(rfbKeySym keysym); @@ -144,6 +145,13 @@ static void xrecord_grabserver(int start) { } } +void zerodisp_xrecord(void) { + rdpy_data = NULL; + rdpy_ctrl = NULL; + gdpy_data = NULL; + gdpy_ctrl = NULL; +} + void initialize_xrecord(void) { use_xrecord = 0; if (! xrecord_present) { |