vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Wed May 23 
23:53:37 2018 +0300| [3a50234e37e774d4fedfcd1c14767a1e40375ccf] | committer: 
Rémi Denis-Courmont

xdg-shell: fix incomplete fullscreen init

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

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

diff --git a/modules/video_output/wayland/xdg-shell.c 
b/modules/video_output/wayland/xdg-shell.c
index d516d8977b..7c82f1b148 100644
--- a/modules/video_output/wayland/xdg-shell.c
+++ b/modules/video_output/wayland/xdg-shell.c
@@ -578,7 +578,10 @@ static int Open(vout_window_t *wnd, const 
vout_window_cfg_t *cfg)
     wnd->control = Control;
 
     if (cfg->is_fullscreen)
+    {
         vout_window_SetFullScreen(wnd, NULL);
+        sys->fullscreen = true;
+    }
 
     if (vlc_clone(&sys->thread, Thread, wnd, VLC_THREAD_PRIORITY_LOW))
         goto error;

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

Reply via email to