vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Dec  2 
12:14:46 2018 +0200| [927f1a65e51322e7e47d933bb28853bda37c22d1] | committer: 
Rémi Denis-Courmont

macosx: fix window state handling

Ignore only the below bit, not the whole mask if the below bit is set.

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

 modules/gui/macosx/VLCVideoOutputProvider.m | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/macosx/VLCVideoOutputProvider.m 
b/modules/gui/macosx/VLCVideoOutputProvider.m
index 2f68ffe31c..3f5f7beab7 100644
--- a/modules/gui/macosx/VLCVideoOutputProvider.m
+++ b/modules/gui/macosx/VLCVideoOutputProvider.m
@@ -58,10 +58,7 @@ static void WindowResize(vout_window_t *p_wnd,
 static void WindowSetState(vout_window_t *p_wnd, unsigned i_state)
 {
     if (i_state & VOUT_WINDOW_STATE_BELOW)
-    {
         msg_Dbg(p_wnd, "Ignore change to VOUT_WINDOW_STATE_BELOW");
-        return;
-    }
 
     @autoreleasepool {
         VLCVideoOutputProvider *voutProvider = [[VLCMain sharedInstance] 
voutProvider];

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to