From 79310af7e7a289d2baf1bdc295daefdcc76ecc0e Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 25 Feb 2006 05:10:37 +0000 Subject: x11vnc: -unixpw and -stunnel. Add clipboard to input control. --- x11vnc/cleanup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'x11vnc/cleanup.c') 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(); -- cgit v1.2.3