aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h16
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 {
float alpha;
+ struct wlr_texture *title_focused;
+ struct wlr_texture *title_focused_inactive;
+ struct wlr_texture *title_unfocused;
+ struct wlr_texture *title_urgent;
+ size_t title_height;
+
struct {
struct wl_signal destroy;
// Raised after the tree updates, but before arrange_windows
@@ -191,4 +197,14 @@ struct sway_container *container_reap_empty_recursive(
struct sway_container *container_flatten(struct sway_container *container);
+void container_update_title_textures(struct sway_container *container);
+
+/**
+ * Calculate the container's title_height property.
+ */
+void container_calculate_title_height(struct sway_container *container);
+
+void container_update_title(struct sway_container *container,
+ const char *new_title);
+
#endif