From a09d0bac78ae98d6388839f60aefcd01ec063417 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 9 Feb 2008 14:47:10 +0000 Subject: 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 --- libvo/w32_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/w32_common.c b/libvo/w32_common.c index d2fa92f609..dfcbe7f0dd 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -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 -- cgit v1.2.3