Client: Fix mistake in client_manage.

This commit is contained in:
Martin Duquesnoy
2009-08-22 23:19:22 +02:00
parent 36c9f52296
commit 324b6bc5d4

View File

@@ -534,6 +534,10 @@ client_manage(Window w, XWindowAttributes *wa, Bool ar)
for(t = clients; t && t->win != trans; t = t->next);
if(t)
c->tag = t->tag;
if(!(c->flags & FreeFlag))
if(rettrans == Success || (c->flags & HintFlag))
c->flags |= FreeFlag;
free(t);
client_attach(c);