[vlc-commits] xdg-shell: use the decorated flag

Rémi Denis-Courmont git at videolan.org
Tue Jun 19 21:09:29 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 19 21:50:59 2018 +0300| [a1fcfc96f59ce04485cedfcb612d023bab98c839] | committer: Rémi Denis-Courmont

xdg-shell: use the decorated flag

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

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

diff --git a/modules/video_output/wayland/xdg-shell.c b/modules/video_output/wayland/xdg-shell.c
index 9698b5e281..8878b047e1 100644
--- a/modules/video_output/wayland/xdg-shell.c
+++ b/modules/video_output/wayland/xdg-shell.c
@@ -567,8 +567,7 @@ static int Open(vout_window_t *wnd, const vout_window_cfg_t *cfg)
     if (sys->cursor == NULL)
         msg_Err(wnd, "failed to load cursor");
 
-    const uint_fast32_t deco_mode =
-        var_InheritBool(wnd, "video-deco")
+    const uint_fast32_t deco_mode = cfg->is_decorated
             ? ORG_KDE_KWIN_SERVER_DECORATION_MODE_SERVER
             : ORG_KDE_KWIN_SERVER_DECORATION_MODE_CLIENT;
 



More information about the vlc-commits mailing list