From 2acfbc519ef7940b620abef0de64ae79d1f50782 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 19 Apr 2018 12:47:34 +1000 Subject: xdg_shell_v6: Use client_pending state instead of current It appears client_pending is the state that should be used here. --- sway/desktop/xdg_shell_v6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 6c0556b2..87e34666 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -213,7 +213,7 @@ static void handle_map(struct wl_listener *listener, void *data) { wl_signal_add(&xdg_surface->events.new_popup, &xdg_shell_v6_view->new_popup); - if (xdg_surface->toplevel->current.fullscreen) { + if (xdg_surface->toplevel->client_pending.fullscreen) { view_set_fullscreen(view, true); } } -- cgit v1.2.3