1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-19 14:26:57 +00:00

Fix hang with -fixed-vo due to VOFLAG_HIDDEN never being removed from window_state.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30514 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-05 16:42:13 +00:00
parent 2e9988220c
commit c5b0ff1cfa

View File

@ -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);