mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 00:41:28 +00:00
xwayland: chase wlr_xwayland_surface_set_maximized() change
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4670.
This commit is contained in:
parent
7e74a49142
commit
9bb45a4037
|
@ -299,7 +299,7 @@ static void set_tiled(struct sway_view *view, bool tiled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface;
|
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) {
|
static void set_fullscreen(struct sway_view *view, bool fullscreen) {
|
||||||
|
|
Loading…
Reference in a new issue