]> git.sesse.net Git - vlc/commitdiff
with skins2(Windows), solve vlc sometimes hanging (blocked in CreateWindowEx)
authorErwan Tulou <brezhoneg1@yahoo.fr>
Thu, 19 Mar 2009 13:06:47 +0000 (14:06 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Mar 2009 08:52:41 +0000 (09:52 +0100)
when multiple vouts are launched (e.g audio-visual)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/skins2/win32/win32_window.cpp

index 2db62c20fd9d92e5b1e918eb6203e534a1ea6cce..4725d83592df6cf9b3fdee0984e588529fb255d9 100644 (file)
@@ -55,9 +55,10 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
     {
         // Child window (for vout)
         m_hWnd_parent = pParentWindow->getHandle();
-        m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW, "SkinWindowClass",
-            "default name", WS_CHILD, CW_USEDEFAULT, CW_USEDEFAULT,
-            CW_USEDEFAULT, CW_USEDEFAULT, m_hWnd_parent, 0, hInst, NULL );
+        m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW | WS_EX_NOPARENTNOTIFY,
+                     "SkinWindowClass", "default name", WS_CHILD,
+                     CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
+                     m_hWnd_parent, 0, hInst, NULL );
     }
     else
     {