untab on unmanage

This commit is contained in:
Julien Danjou 2007-10-15 20:23:54 +02:00
parent 5a47c01381
commit 035bf83f59
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
#include "screen.h" #include "screen.h"
#include "tab.h"
#include "awesome.h" #include "awesome.h"
#include "layout.h" #include "layout.h"
#include "tag.h" #include "tag.h"
@ -559,6 +560,7 @@ unmanage(Client * c, long state, awesome_config *awesomeconf)
{ {
XWindowChanges wc; XWindowChanges wc;
client_untab(c);
c->unmapped = True; c->unmapped = True;
wc.border_width = c->oldborder; wc.border_width = c->oldborder;
/* The server grab construct avoids race conditions. */ /* The server grab construct avoids race conditions. */