From 73318aca9daee1b445970fd2ac209e38f6f3c70a Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Tue, 14 Jul 2009 15:56:47 +0200 Subject: [PATCH] Wmfs: in quit(), just unhide and Reparent the window in ROOT. --- src/wmfs.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/wmfs.c b/src/wmfs.c index ed302ae..c6941ee 100644 --- a/src/wmfs.c +++ b/src/wmfs.c @@ -88,12 +88,8 @@ quit(void) /* Unmanage all clients */ for(c = clients; c; c = c->next) { - if(c->hide) - client_unhide(c); - if(c->unmapped) - client_map(c); - - client_unmanage(c); + client_unhide(c); + XReparentWindow(dpy, c->win, ROOT, c->geo.x, c->geo.y); } IFREE(tags);