[vlc-commits] xdg-shell: fix incomplete fullscreen init

Rémi Denis-Courmont git at videolan.org
Thu May 24 08:00:19 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 23 23:53:37 2018 +0300| [e86869559a04f8abdb8f14a51abf2db5692382b5] | committer: Rémi Denis-Courmont

xdg-shell: fix incomplete fullscreen init

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

 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;



More information about the vlc-commits mailing list