mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Wayland: Fix transition to server-side decorations
(cherry picked from commit 29b7669bc6
)
This commit is contained in:
parent
17959aad33
commit
aef1d4584f
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user