summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index bd0d91f..16115cd 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -133,7 +133,7 @@ void clean_up_exit (int ret) {
unlink(client_connect_file);
}
}
- if (! dpy) {
+ if (macosx_console) {
macosxCG_fini();
}
#endif