aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/desktop/xdg_shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index a97ee8be..fe1dc837 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -452,8 +452,8 @@ static void handle_map(struct wl_listener *listener, void *data) {
}
view_map(view, view->wlr_xdg_surface->surface,
- xdg_surface->toplevel->client_pending.fullscreen,
- xdg_surface->toplevel->client_pending.fullscreen_output,
+ xdg_surface->toplevel->requested.fullscreen,
+ xdg_surface->toplevel->requested.fullscreen_output,
csd);
transaction_commit_dirty();