mirror of https://github.com/mpv-player/mpv
Make sure the -wid window does not get notified when we destroy our attached child window.
Previous behaviour seems to cause QT to do something stupid which makes DestroyWindow hang (SMPlayer is an application where this happened). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25966 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
83834ac968
commit
a09d0bac78
|
@ -374,7 +374,7 @@ int vo_w32_init(void) {
|
|||
RECT r;
|
||||
GetClientRect(WinID, &r);
|
||||
vo_dwidth = r.right; vo_dheight = r.bottom;
|
||||
vo_window = CreateWindowEx(0, classname, classname,
|
||||
vo_window = CreateWindowEx(WS_EX_NOPARENTNOTIFY, classname, classname,
|
||||
WS_CHILD | WS_VISIBLE,
|
||||
0, 0, vo_dwidth, vo_dheight, WinID, 0, hInstance, 0);
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue