aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index eb88b47e..0284c9a5 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -64,6 +64,7 @@ void container_destroy(struct sway_container *con) {
64 wlr_texture_destroy(con->title_focused_inactive); 64 wlr_texture_destroy(con->title_focused_inactive);
65 wlr_texture_destroy(con->title_unfocused); 65 wlr_texture_destroy(con->title_unfocused);
66 wlr_texture_destroy(con->title_urgent); 66 wlr_texture_destroy(con->title_urgent);
67 wlr_texture_destroy(con->title_focused_tab_title);
67 list_free(con->pending.children); 68 list_free(con->pending.children);
68 list_free(con->current.children); 69 list_free(con->current.children);
69 list_free(con->outputs); 70 list_free(con->outputs);
@@ -73,6 +74,7 @@ void container_destroy(struct sway_container *con) {
73 wlr_texture_destroy(con->marks_focused_inactive); 74 wlr_texture_destroy(con->marks_focused_inactive);
74 wlr_texture_destroy(con->marks_unfocused); 75 wlr_texture_destroy(con->marks_unfocused);
75 wlr_texture_destroy(con->marks_urgent); 76 wlr_texture_destroy(con->marks_urgent);
77 wlr_texture_destroy(con->marks_focused_tab_title);
76 78
77 if (con->view) { 79 if (con->view) {
78 if (con->view->container == con) { 80 if (con->view->container == con) {
@@ -582,6 +584,8 @@ void container_update_title_textures(struct sway_container *container) {
582 &config->border_colors.unfocused); 584 &config->border_colors.unfocused);
583 update_title_texture(container, &container->title_urgent, 585 update_title_texture(container, &container->title_urgent,
584 &config->border_colors.urgent); 586 &config->border_colors.urgent);
587 update_title_texture(container, &container->title_focused_tab_title,
588 &config->border_colors.focused_tab_title);
585 container_damage_whole(container); 589 container_damage_whole(container);
586} 590}
587 591
@@ -1635,6 +1639,8 @@ void container_update_marks_textures(struct sway_container *con) {
1635 &config->border_colors.unfocused); 1639 &config->border_colors.unfocused);
1636 update_marks_texture(con, &con->marks_urgent, 1640 update_marks_texture(con, &con->marks_urgent,
1637 &config->border_colors.urgent); 1641 &config->border_colors.urgent);
1642 update_marks_texture(con, &con->marks_focused_tab_title,
1643 &config->border_colors.focused_tab_title);
1638 container_damage_whole(con); 1644 container_damage_whole(con);
1639} 1645}
1640 1646