diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2024-08-02 17:49:44 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-08-02 16:57:01 +0200 |
commit | 9bb45a403758c8606fe9a7f0b5b5316bae1a12dd (patch) | |
tree | 9ca1cecc238ad0a501d3656b5653854825544799 | |
parent | desktop/xwayland: don't restack when marking window as inactive (diff) | |
download | sway-9bb45a403758c8606fe9a7f0b5b5316bae1a12dd.tar.gz sway-9bb45a403758c8606fe9a7f0b5b5316bae1a12dd.tar.zst sway-9bb45a403758c8606fe9a7f0b5b5316bae1a12dd.zip |
xwayland: chase wlr_xwayland_surface_set_maximized() change
See
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4670.
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
299 | return; | 299 | return; |
300 | } | 300 | } |
301 | struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface; | 301 | struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface; |
302 | wlr_xwayland_surface_set_maximized(surface, tiled); | 302 | wlr_xwayland_surface_set_maximized(surface, tiled, tiled); |
303 | } | 303 | } |
304 | 304 | ||
305 | static void set_fullscreen(struct sway_view *view, bool fullscreen) { | 305 | static void set_fullscreen(struct sway_view *view, bool fullscreen) { |