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 =