summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/x11_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index fa65e19870..f695c11fa9 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1104,10 +1104,6 @@ void vo_x11_create_vo_window(struct vo *vo, XVisualInfo *vis, int x, int y,
// map window
XMapWindow(mDisplay, x11->window);
vo_x11_clearwindow(vo, x11->window);
- // wait for map
- do {
- XNextEvent(mDisplay, &xev);
- } while (xev.type != MapNotify || xev.xmap.event != x11->window);
XSelectInput(mDisplay, x11->window, NoEventMask);
XSync(mDisplay, False);
vo_x11_selectinput_witherr(mDisplay, x11->window,