diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/container.h | 2 | ||||
-rw-r--r-- | include/sway/layout.h | 1 | ||||
-rw-r--r-- | include/sway/output.h | 1 | ||||
-rw-r--r-- | include/sway/view.h | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h index 96e4db69..1a173f3e 100644 --- a/include/sway/container.h +++ b/include/sway/container.h | |||
@@ -132,4 +132,6 @@ swayc_t *new_output(struct sway_output *sway_output); | |||
132 | swayc_t *new_workspace(swayc_t *output, const char *name); | 132 | swayc_t *new_workspace(swayc_t *output, const char *name); |
133 | swayc_t *new_view(swayc_t *sibling, struct sway_view *sway_view); | 133 | swayc_t *new_view(swayc_t *sibling, struct sway_view *sway_view); |
134 | 134 | ||
135 | swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types type); | ||
136 | |||
135 | #endif | 137 | #endif |
diff --git a/include/sway/layout.h b/include/sway/layout.h index 6356ad00..505036a0 100644 --- a/include/sway/layout.h +++ b/include/sway/layout.h | |||
@@ -7,5 +7,6 @@ void init_layout(void); | |||
7 | void add_child(struct sway_container *parent, struct sway_container *child); | 7 | void add_child(struct sway_container *parent, struct sway_container *child); |
8 | enum swayc_layouts default_layout(struct sway_container *output); | 8 | enum swayc_layouts default_layout(struct sway_container *output); |
9 | void sort_workspaces(struct sway_container *output); | 9 | void sort_workspaces(struct sway_container *output); |
10 | void arrange_windows(struct sway_container *container, double width, double height); | ||
10 | 11 | ||
11 | #endif | 12 | #endif |
diff --git a/include/sway/output.h b/include/sway/output.h index e2f81bcb..895cb07d 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -13,6 +13,7 @@ struct sway_output { | |||
13 | struct sway_server *server; | 13 | struct sway_server *server; |
14 | struct timespec last_frame; | 14 | struct timespec last_frame; |
15 | struct wl_listener frame; | 15 | struct wl_listener frame; |
16 | struct wl_listener resolution; | ||
16 | }; | 17 | }; |
17 | 18 | ||
18 | #endif | 19 | #endif |
diff --git a/include/sway/view.h b/include/sway/view.h index 2675a6f5..9d503674 100644 --- a/include/sway/view.h +++ b/include/sway/view.h | |||
@@ -52,6 +52,8 @@ struct sway_view { | |||
52 | struct { | 52 | struct { |
53 | const char *(*get_prop)(struct sway_view *view, | 53 | const char *(*get_prop)(struct sway_view *view, |
54 | enum sway_view_prop prop); | 54 | enum sway_view_prop prop); |
55 | void (*set_dimensions)(struct sway_view *view, | ||
56 | int width, int height); | ||
55 | } iface; | 57 | } iface; |
56 | }; | 58 | }; |
57 | 59 | ||