input: implement xdg_toplevel interactive resize hints

This commit is contained in:
Ronan Pigott 2020-07-06 23:57:48 -07:00 committed by Brian Ashworth
parent 10ec97c073
commit 39d677af15
6 changed files with 90 additions and 0 deletions

View file

@ -219,6 +219,8 @@ void container_floating_resize_and_center(struct sway_container *con);
void container_floating_set_default_size(struct sway_container *con);
void container_set_resizing(struct sway_container *con, bool resizing);
void container_set_floating(struct sway_container *container, bool enable);
void container_set_geometry_from_content(struct sway_container *con);

View file

@ -43,6 +43,7 @@ struct sway_view_impl {
void (*set_activated)(struct sway_view *view, bool activated);
void (*set_tiled)(struct sway_view *view, bool tiled);
void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
void (*set_resizing)(struct sway_view *view, bool resizing);
bool (*wants_floating)(struct sway_view *view);
void (*for_each_surface)(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data);