summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/x11_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index bb46588ea4..bb334f13f5 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1115,6 +1115,7 @@ void vo_x11_create_vo_window(XVisualInfo *vis, int x, int y,
if (window_state & VOFLAG_HIDDEN) {
XSizeHints hint;
XEvent xev;
+ window_state &= ~VOFLAG_HIDDEN;
vo_x11_classhint(mDisplay, vo_window, classname);
XStoreName(mDisplay, vo_window, title);
vo_hidecursor(mDisplay, vo_window);