Wayland: Fix transition to server-side decorations

(cherry picked from commit 29b7669bc6)
This commit is contained in:
Camilla Löwy 2022-06-20 22:48:35 +02:00
parent 17959aad33
commit aef1d4584f

View File

@ -319,6 +319,8 @@ static void xdgDecorationHandleConfigure(void* userData,
if (mode == ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE) if (mode == ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE)
createFallbackDecorations(window); createFallbackDecorations(window);
else
destroyFallbackDecorations(window);
} }
static const struct zxdg_toplevel_decoration_v1_listener xdgDecorationListener = static const struct zxdg_toplevel_decoration_v1_listener xdgDecorationListener =