[vlc-devel] [PATCH 13/18] wayland-shm: handle fullscreen request

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


---
 modules/video_output/wayland/shm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index 8de51a3e34..de8a567145 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -287,6 +287,9 @@ static int Control(vout_display_t *vd, int query, va_list ap)
             break;
         }
 
+    case VOUT_DISPLAY_CHANGE_FULLSCREEN:
+        return vout_window_SetFullScreen(sys->embed, va_arg(ap, int));
+
         case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
         case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
         case VOUT_DISPLAY_CHANGE_ZOOM:
-- 
2.13.1



More information about the vlc-devel mailing list