chase wlroots: xwayland separate maximized axis MR 4670

Ref: ceb4fcedca30d323a05836b0872bfe773a047ccc
("xwm: expose individual axis for _set_maximized()")
This commit is contained in:
Consolatis 2024-11-27 03:53:28 +01:00 committed by Johan Malm
parent a617accfd8
commit 1eaba4af33
5 changed files with 8 additions and 7 deletions

View file

@ -810,10 +810,10 @@ out:
}
static void
xwayland_view_maximize(struct view *view, bool maximized)
xwayland_view_maximize(struct view *view, enum view_axis maximized)
{
wlr_xwayland_surface_set_maximized(xwayland_surface_from_view(view),
maximized);
maximized & VIEW_AXIS_HORIZONTAL, maximized & VIEW_AXIS_VERTICAL);
}
static void