summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-09 14:47:10 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-09 14:47:10 +0000
commita09d0bac78ae98d6388839f60aefcd01ec063417 (patch)
tree856ec5739b67db3f7ae6ea6a0158465d0c597d2c /libvo
parent83834ac9687d1c121b5fa98530f13806e824a9a2 (diff)
downloadmpv-a09d0bac78ae98d6388839f60aefcd01ec063417.tar.bz2
mpv-a09d0bac78ae98d6388839f60aefcd01ec063417.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/w32_common.c2
1 files changed, 1 insertions, 1 deletions
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