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:
reimar 2008-02-09 14:47:10 +00:00
parent 83834ac968
commit a09d0bac78
1 changed files with 1 additions and 1 deletions

View File

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