summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <johannes.schindelin@gmx.de>2014-07-18 07:57:20 -0500
committerdscho <johannes.schindelin@gmx.de>2014-07-18 07:57:20 -0500
commit9453be42014b6b9eaa6ab6f8c2e8b6f4f01d15aa (patch)
treea3e578995e4ea7b05ffd99b260a4766aecc5b8af
parent3238443dc1ff5e7d0a9457dce5e0fb46c7bc1624 (diff)
parentc4dff87c8f3edf4f7d3e11cabed4e88abf18aaa3 (diff)
downloadlibvncserver-9453be42014b6b9eaa6ab6f8c2e8b6f4f01d15aa.zip
libvncserver-9453be42014b6b9eaa6ab6f8c2e8b6f4f01d15aa.tar.gz
Merge pull request #13 from wjt/fix-double-X_UNLOCK-on-xrandr-event
x11vnc: fix double X_UNLOCK on xrandr events
-rw-r--r--x11vnc/xrandr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/xrandr.c b/x11vnc/xrandr.c
index d0d68e1..f2fb5ea 100644
--- a/x11vnc/xrandr.c
+++ b/x11vnc/xrandr.c
@@ -268,6 +268,7 @@ int check_xrandr_event(char *msg) {
/* under do_change caller normally returns before its X_UNLOCK */
X_UNLOCK;
handle_xrandr_change(rev->width, rev->height);
+ X_LOCK;
}
if (qout) {
return do_change;
OpenPOWER on IntegriCloud