Commit a1fcfc96 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

xdg-shell: use the decorated flag

parent 38f4628d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment