Free screen after clients to set tag/screen in props before quit
This commit is contained in:
parent
f7a3ef3b3d
commit
0ee606d251
15
src/wmfs.c
15
src/wmfs.c
@ -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))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user