mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
xdg_shell_v6: Use client_pending state instead of current
It appears client_pending is the state that should be used here.
This commit is contained in:
parent
1285f01b13
commit
2acfbc519e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue