aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2020-07-06 23:57:48 -0700
committerFurkan Sahin <furkan-dev@proton.me>2020-07-06 23:57:48 -0700
commitff38ba81bd4ec72723cecfe288601506cc3ecabb (patch)
tree0612524effa083389ecce17d0f0dafad8f25d6ec /include
parent3f427972302e21187a4b0411c0b7802ea6dacb33 (diff)
input: implement xdg_toplevel interactive resize hints
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/container.h2
-rw-r--r--include/sway/tree/view.h1
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);