summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 74f0ea6..a81a798 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -158,6 +158,9 @@ void clean_up_exit (int ret) {
if (use_solid_bg) {
solid_bg(1);
}
+ if (ncache || ncache0) {
+ kde_no_animate(1);
+ }
X_LOCK;
XTestDiscard_wr(dpy);
#if LIBVNCSERVER_HAVE_LIBXDAMAGE
@@ -415,6 +418,9 @@ static void interrupted (int sig) {
if (use_solid_bg) {
solid_bg(1);
}
+ if (ncache || ncache0) {
+ kde_no_animate(1);
+ }
stop_stunnel();
if (crash_debug) {