[MPlayer-cvslog] r25966 - trunk/libvo/w32_common.c
reimar
subversion at mplayerhq.hu
Sat Feb 9 15:47:11 CET 2008
Author: reimar
Date: Sat Feb 9 15:47:10 2008
New Revision: 25966
Log:
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).
Modified:
trunk/libvo/w32_common.c
Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c (original)
+++ trunk/libvo/w32_common.c Sat Feb 9 15:47:10 2008
@@ -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
More information about the MPlayer-cvslog
mailing list