mirror of
https://github.com/gwm17/glfw.git
synced 2025-02-16 18:58:52 -05:00
Wayland: Fix transition to server-side decorations
This commit is contained in:
parent
f35e2274cb
commit
29b7669bc6
|
@ -277,6 +277,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 =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user