[vlc-commits] vout:win32: don't change the Z-order of the main window on resize

Steve Lhomme git at videolan.org
Tue Apr 2 16:33:06 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 29 14:47:34 2019 +0100| [7ec7a175b9db6d75bba8cb3b98df9e1a39fc25c6] | committer: Steve Lhomme

vout:win32: don't change the Z-order of the main window on resize

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ec7a175b9db6d75bba8cb3b98df9e1a39fc25c6
---

 modules/video_output/win32/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index b436f20def..cfd524b057 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -376,7 +376,7 @@ int CommonControl(vout_display_t *vd, display_win32_area_t *area, vout_display_s
             AdjustWindowRect(&rect_window, EventThreadGetWindowStyle(sys->event), 0);
             SetWindowPos(sys->hwnd, 0, 0, 0,
                          RECTWidth(rect_window),
-                         RECTHeight(rect_window), SWP_NOMOVE);
+                         RECTHeight(rect_window), SWP_NOZORDER|SWP_NOMOVE);
         }
 #endif /* !VLC_WINSTORE_APP */
         UpdateRects(vd, area, sys);



More information about the vlc-commits mailing list