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/cleanup.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/cleanup.c')
-rw-r--r-- | x11vnc/cleanup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index 890afa8..8f7160c 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -8,6 +8,8 @@ #include "scan.h" #include "gui.h" #include "solid.h" +#include "unixpw.h" +#include "sslcmds.h" /* * Exiting and error handling routines @@ -130,6 +132,8 @@ void clean_up_exit (int ret) { if (use_solid_bg) { solid_bg(1); } + stop_stunnel(); + X_LOCK; XTestDiscard_wr(dpy); #if LIBVNCSERVER_HAVE_LIBXDAMAGE @@ -380,6 +384,7 @@ static void interrupted (int sig) { if (use_solid_bg) { solid_bg(1); } + stop_stunnel(); if (crash_debug) { crash_shell(); |