Commit 9453be42 authored by dscho's avatar dscho

Merge pull request #13 from wjt/fix-double-X_UNLOCK-on-xrandr-event

x11vnc: fix double X_UNLOCK on xrandr events
parents 3238443d c4dff87c
...@@ -268,6 +268,7 @@ int check_xrandr_event(char *msg) { ...@@ -268,6 +268,7 @@ int check_xrandr_event(char *msg) {
/* under do_change caller normally returns before its X_UNLOCK */ /* under do_change caller normally returns before its X_UNLOCK */
X_UNLOCK; X_UNLOCK;
handle_xrandr_change(rev->width, rev->height); handle_xrandr_change(rev->width, rev->height);
X_LOCK;
} }
if (qout) { if (qout) {
return do_change; return do_change;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment