diff options
Diffstat (limited to 'sway/xdg_decoration.c')
-rw-r--r-- | sway/xdg_decoration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/xdg_decoration.c b/sway/xdg_decoration.c index 8a9a9a28..ec9e8d68 100644 --- a/sway/xdg_decoration.c +++ b/sway/xdg_decoration.c @@ -27,7 +27,7 @@ static void xdg_decoration_handle_request_mode(struct wl_listener *listener, enum wlr_xdg_toplevel_decoration_v1_mode mode = WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE; enum wlr_xdg_toplevel_decoration_v1_mode client_mode = - deco->wlr_xdg_decoration->client_pending_mode; + deco->wlr_xdg_decoration->requested_mode; bool floating; if (view->container) { |