diff options
author | 2020-07-06 23:57:48 -0700 | |
---|---|---|
committer | 2020-07-13 00:21:52 -0400 | |
commit | 39d677af15bd4c8cdea6b62fda80ac9a9e998045 (patch) | |
tree | 0612524effa083389ecce17d0f0dafad8f25d6ec /include | |
parent | rephrase swayidle-timout example to improve readability (diff) | |
download | sway-39d677af15bd4c8cdea6b62fda80ac9a9e998045.tar.gz sway-39d677af15bd4c8cdea6b62fda80ac9a9e998045.tar.zst sway-39d677af15bd4c8cdea6b62fda80ac9a9e998045.zip |
input: implement xdg_toplevel interactive resize hints
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); | |||
219 | 219 | ||
220 | void container_floating_set_default_size(struct sway_container *con); | 220 | void container_floating_set_default_size(struct sway_container *con); |
221 | 221 | ||
222 | void container_set_resizing(struct sway_container *con, bool resizing); | ||
223 | |||
222 | void container_set_floating(struct sway_container *container, bool enable); | 224 | void container_set_floating(struct sway_container *container, bool enable); |
223 | 225 | ||
224 | void container_set_geometry_from_content(struct sway_container *con); | 226 | 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 { | |||
43 | void (*set_activated)(struct sway_view *view, bool activated); | 43 | void (*set_activated)(struct sway_view *view, bool activated); |
44 | void (*set_tiled)(struct sway_view *view, bool tiled); | 44 | void (*set_tiled)(struct sway_view *view, bool tiled); |
45 | void (*set_fullscreen)(struct sway_view *view, bool fullscreen); | 45 | void (*set_fullscreen)(struct sway_view *view, bool fullscreen); |
46 | void (*set_resizing)(struct sway_view *view, bool resizing); | ||
46 | bool (*wants_floating)(struct sway_view *view); | 47 | bool (*wants_floating)(struct sway_view *view); |
47 | void (*for_each_surface)(struct sway_view *view, | 48 | void (*for_each_surface)(struct sway_view *view, |
48 | wlr_surface_iterator_func_t iterator, void *user_data); | 49 | wlr_surface_iterator_func_t iterator, void *user_data); |