xwayland: chase wlr_xwayland_surface_set_maximized() change

See
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4670.
This commit is contained in:
Kirill Primak 2024-08-02 17:49:44 +03:00 committed by Simon Ser
parent 7e74a49142
commit 9bb45a4037

View file

@ -299,7 +299,7 @@ static void set_tiled(struct sway_view *view, bool tiled) {
return;
}
struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface;
wlr_xwayland_surface_set_maximized(surface, tiled);
wlr_xwayland_surface_set_maximized(surface, tiled, tiled);
}
static void set_fullscreen(struct sway_view *view, bool fullscreen) {