summaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-05-05 20:03:46 +0100
committerGitHub <[email protected]>2018-05-05 20:03:46 +0100
commit786727d8bbd00f44f1b29368a3579cbe6899ba16 (patch)
tree80579da473fb095b61a4693a1ab009d2fb6ea595 /include/sway/tree/container.h
parentb4249166f309a46c15dd3a5734594aee961b723b (diff)
parent967b14c2279b6a09830912b09d54668119045967 (diff)
Merge branch 'master' into usr-lib
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index b07af72c..61ab7ca1 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -63,7 +63,8 @@ struct sway_container {
*/
size_t id;
- char *name;
+ char *name; // The view's title (unformatted)
+ char *formatted_title; // The title displayed in the title bar
enum sway_container_type type;
enum sway_container_layout layout;
@@ -204,7 +205,6 @@ void container_update_title_textures(struct sway_container *container);
*/
void container_calculate_title_height(struct sway_container *container);
-void container_update_title(struct sway_container *container,
- const char *new_title);
+void container_notify_child_title_changed(struct sway_container *container);
#endif