Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)
This commit is contained in:
parent
8fa720d6b9
commit
ff925f58e8
|
@ -582,9 +582,9 @@ void init_xcb(char *fontname) {
|
||||||
*/
|
*/
|
||||||
void clean_xcb() {
|
void clean_xcb() {
|
||||||
i3_output *o_walk;
|
i3_output *o_walk;
|
||||||
|
free_workspaces();
|
||||||
SLIST_FOREACH(o_walk, outputs, slist) {
|
SLIST_FOREACH(o_walk, outputs, slist) {
|
||||||
destroy_window(o_walk);
|
destroy_window(o_walk);
|
||||||
FREE_TAILQ(o_walk->workspaces, i3_ws);
|
|
||||||
FREE(o_walk->workspaces);
|
FREE(o_walk->workspaces);
|
||||||
FREE(o_walk->name);
|
FREE(o_walk->name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue