mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00: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