Free screen after clients to set tag/screen in props before quit

This commit is contained in:
Martin Duquesnoy 2012-01-25 15:30:50 +01:00
parent f7a3ef3b3d
commit 0ee606d251

View File

@ -407,15 +407,8 @@ wmfs_quit(void)
struct client *c;
struct mousebind *m;
/* Will free:
*
* Screens -> tags
* -> Infobars -> Elements
*/
ewmh_update_wmfs_props();
screen_free();
XFreeGC(W->dpy, W->rgc);
while(!SLIST_EMPTY(&W->h.client))
@ -426,6 +419,14 @@ wmfs_quit(void)
client_remove(c);
}
/* Will free:
*
* Screens -> tags
* -> Infobars -> Elements
*/
screen_free();
/* Conf stuffs */
while(!SLIST_EMPTY(&W->h.theme))
{