summaryrefslogtreecommitdiffstats
path: root/x11vnc/xrandr.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xrandr.h')
-rw-r--r--x11vnc/xrandr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/xrandr.h b/x11vnc/xrandr.h
index 5e3a7d6..a0e62ad 100644
--- a/x11vnc/xrandr.h
+++ b/x11vnc/xrandr.h
@@ -25,6 +25,7 @@ extern int known_xrandr_mode(char *s);
if (check_xrandr_event(y)) { \
trapped_getimage_xerror = 0; \
XSetErrorHandler(old_getimage_handler); \
+ X_UNLOCK; \
return(x); \
} \
}