Fix many border opacity issues

This commit is contained in:
Ryan Dwyer 2018-05-15 23:29:54 +10:00
parent b1645fb352
commit ebb0d051db
3 changed files with 120 additions and 78 deletions

View file

@ -123,13 +123,12 @@ static void _container_destroy(struct sway_container *cont) {
if (cont->name) {
free(cont->name);
}
if (cont->title_focused) {
// If one is set then all of these are set
wlr_texture_destroy(cont->title_focused);
wlr_texture_destroy(cont->title_focused_inactive);
wlr_texture_destroy(cont->title_unfocused);
wlr_texture_destroy(cont->title_urgent);
}
wlr_texture_destroy(cont->title_focused);
wlr_texture_destroy(cont->title_focused_inactive);
wlr_texture_destroy(cont->title_unfocused);
wlr_texture_destroy(cont->title_urgent);
list_free(cont->children);
cont->children = NULL;
free(cont);