[vlc-commits] win32:vout_window: reset window placement length when going out of fullscreen
Steve Lhomme
git at videolan.org
Thu Oct 24 13:29:53 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 13:29:19 2019 +0200| [ce3c2d69bf1ea5a483c955eec6f0b4b7a3e8ccc3] | committer: Steve Lhomme
win32:vout_window: reset window placement length when going out of fullscreen
That will be useful when we need to tell if we're in fullscreen or not.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce3c2d69bf1ea5a483c955eec6f0b4b7a3e8ccc3
---
modules/video_output/win32/window.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/win32/window.c b/modules/video_output/win32/window.c
index 50e172b9b4..7a91c5dc05 100644
--- a/modules/video_output/win32/window.c
+++ b/modules/video_output/win32/window.c
@@ -191,6 +191,7 @@ static void UnsetFullscreen(vout_window_t *wnd)
{
SetWindowLong(sys->hwnd, GWL_STYLE, sys->i_window_style);
SetWindowPlacement(sys->hwnd, &sys->window_placement);
+ sys->window_placement.length = 0;
}
ShowWindow(sys->hwnd, SW_SHOWNORMAL);
}
More information about the vlc-commits
mailing list