From aef1d4584fadd2254de5f714a8e0815d0bd905c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 20 Jun 2022 22:48:35 +0200 Subject: [PATCH] Wayland: Fix transition to server-side decorations (cherry picked from commit 29b7669bc6a42de729a59abc96ce8849654751c7) --- src/wl_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wl_window.c b/src/wl_window.c index a98b62ca..d11e5f93 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -319,6 +319,8 @@ static void xdgDecorationHandleConfigure(void* userData, if (mode == ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE) createFallbackDecorations(window); + else + destroyFallbackDecorations(window); } static const struct zxdg_toplevel_decoration_v1_listener xdgDecorationListener =