From ab8453c1aab3c4a7e2e9e05cb134e0cc4c711e1c Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Wed, 26 Jun 2002 16:02:01 +0000 Subject: [PATCH] Check struts at clientUnframe() (Old svn revision: 10403) --- src/client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index b8491ea6d..8d1fe2aac 100644 --- a/src/client.c +++ b/src/client.c @@ -1718,6 +1718,10 @@ void clientUnframe(Client * c, int remap) XReparentWindow(dpy, c->window, root, c->x, c->y); XDestroyWindow(dpy, c->frame); clientRemoveFromList(c); + if (c->has_struts) + { + workspaceUpdateArea(margins, gnome_margins); + } if(c->name) { free(c->name); @@ -1735,7 +1739,6 @@ void clientUnframe(Client * c, int remap) XFree(c->cmap_windows); } free(c); - workspaceUpdateArea(margins, gnome_margins); DBG("client_count=%d\n", client_count); } -- GitLab