diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index e4d54ca6..805c9b9d 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -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) {