xwm: expose individual axis for _set_maximized()

This allows compositors to support both axis individually.
To keep existing behavior, compositors can supply the same
maximized state for both axis.
This commit is contained in:
Consolatis 2024-04-13 14:48:59 +02:00 committed by Kirill Primak
parent f9199bb6d4
commit ceb4fcedca
2 changed files with 9 additions and 11 deletions

View file

@ -261,7 +261,7 @@ void wlr_xwayland_surface_set_minimized(struct wlr_xwayland_surface *surface,
bool minimized);
void wlr_xwayland_surface_set_maximized(struct wlr_xwayland_surface *surface,
bool maximized);
bool maximized_horz, bool maximized_vert);
void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland_surface *surface,
bool fullscreen);