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 a0e62ad..03048fd 100644
--- a/x11vnc/xrandr.h
+++ b/x11vnc/xrandr.h
@@ -52,6 +52,7 @@ extern int known_xrandr_mode(char *s);
} \
trapped_getimage_xerror = 0; \
XSetErrorHandler(old_getimage_handler); \
+ XFlush_wr(dpy); \
check_xrandr_event(y); \
X_UNLOCK; \
return(x); \