summaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-15 23:29:54 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-17 08:29:14 +1000
commitebb0d051db2f73fd13a4e844a51e70f09703372a (patch)
treeba0248bf61b783299e8dea938a1ae90299fd62f4 /sway/tree/container.c
parentUpdate show_marks documentation (diff)
downloadsway-ebb0d051db2f73fd13a4e844a51e70f09703372a.tar.gz
sway-ebb0d051db2f73fd13a4e844a51e70f09703372a.tar.zst
sway-ebb0d051db2f73fd13a4e844a51e70f09703372a.zip
Fix many border opacity issues
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 47ba88a9..e47338e7 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -123,13 +123,12 @@ static void _container_destroy(struct sway_container *cont) {
123 if (cont->name) { 123 if (cont->name) {
124 free(cont->name); 124 free(cont->name);
125 } 125 }
126 if (cont->title_focused) { 126
127 // If one is set then all of these are set 127 wlr_texture_destroy(cont->title_focused);
128 wlr_texture_destroy(cont->title_focused); 128 wlr_texture_destroy(cont->title_focused_inactive);
129 wlr_texture_destroy(cont->title_focused_inactive); 129 wlr_texture_destroy(cont->title_unfocused);
130 wlr_texture_destroy(cont->title_unfocused); 130 wlr_texture_destroy(cont->title_urgent);
131 wlr_texture_destroy(cont->title_urgent); 131
132 }
133 list_free(cont->children); 132 list_free(cont->children);
134 cont->children = NULL; 133 cont->children = NULL;
135 free(cont); 134 free(cont);