From 39d677af15bd4c8cdea6b62fda80ac9a9e998045 Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Mon, 6 Jul 2020 23:57:48 -0700 Subject: input: implement xdg_toplevel interactive resize hints --- include/sway/tree/container.h | 2 ++ include/sway/tree/view.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include/sway/tree') 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); -- cgit v1.2.3-54-g00ecf