diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 2 | ||||
-rw-r--r-- | include/sway/tree/view.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index fd028131..136d618b 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -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); diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index b495fdf9..665c516f 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -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); |