aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r--sway/desktop/xdg_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index fe67c8a7..c1e5bc68 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -436,7 +436,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
436 436
437 if (view->xdg_decoration) { 437 if (view->xdg_decoration) {
438 enum wlr_xdg_toplevel_decoration_v1_mode mode = 438 enum wlr_xdg_toplevel_decoration_v1_mode mode =
439 view->xdg_decoration->wlr_xdg_decoration->client_pending_mode; 439 view->xdg_decoration->wlr_xdg_decoration->requested_mode;
440 csd = mode == WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE; 440 csd = mode == WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE;
441 } else { 441 } else {
442 struct sway_server_decoration *deco = 442 struct sway_server_decoration *deco =