[vlc-devel] [PATCH 10/18] macosx: macosx-gl-display: handle fullscreen request

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Fri Aug 4 19:41:04 CEST 2017


---
 modules/video_output/macosx.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 2770c44305..ed012d0531 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -362,6 +362,8 @@ static int Control (vout_display_t *vd, int query, va_list ap)
     @autoreleasepool {
         switch (query)
         {
+            case VOUT_DISPLAY_CHANGE_FULLSCREEN:
+                return vout_window_SetFullScreen(sys->embed, va_arg(ap, int));
             case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
             case VOUT_DISPLAY_CHANGE_ZOOM:
             case VOUT_DISPLAY_CHANGE_SOURCE_ASPECT:
-- 
2.13.1



More information about the vlc-devel mailing list