summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 4ecef42..232311c 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -50,6 +50,7 @@ so, delete this exception statement from your version.
#include "screen.h"
#include "xrecord.h"
#include "xevents.h"
+#include "uinput.h"
/*
* Exiting and error handling routines
@@ -187,6 +188,8 @@ void clean_up_exit(int ret) {
pipeinput_fh = NULL;
}
+ shutdown_uinput();
+
if (! dpy) { /* raw_rb hack */
if (rm_flagfile) {
unlink(rm_flagfile);