diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index d092af49..b07af72c 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -85,6 +85,12 @@ struct sway_container { | |||
85 | 85 | ||
86 | float alpha; | 86 | float alpha; |
87 | 87 | ||
88 | struct wlr_texture *title_focused; | ||
89 | struct wlr_texture *title_focused_inactive; | ||
90 | struct wlr_texture *title_unfocused; | ||
91 | struct wlr_texture *title_urgent; | ||
92 | size_t title_height; | ||
93 | |||
88 | struct { | 94 | struct { |
89 | struct wl_signal destroy; | 95 | struct wl_signal destroy; |
90 | // Raised after the tree updates, but before arrange_windows | 96 | // Raised after the tree updates, but before arrange_windows |
@@ -191,4 +197,14 @@ struct sway_container *container_reap_empty_recursive( | |||
191 | 197 | ||
192 | struct sway_container *container_flatten(struct sway_container *container); | 198 | struct sway_container *container_flatten(struct sway_container *container); |
193 | 199 | ||
200 | void container_update_title_textures(struct sway_container *container); | ||
201 | |||
202 | /** | ||
203 | * Calculate the container's title_height property. | ||
204 | */ | ||
205 | void container_calculate_title_height(struct sway_container *container); | ||
206 | |||
207 | void container_update_title(struct sway_container *container, | ||
208 | const char *new_title); | ||
209 | |||
194 | #endif | 210 | #endif |