check transient and isfixed for setting floating state, even if we can loadprops

This commit is contained in:
Julien Danjou 2008-02-12 10:19:59 +01:00
parent 1b63e8a3c5
commit 768aef8960
1 changed files with 13 additions and 12 deletions

View File

@ -367,6 +367,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
}
else
move_client_to_screen(c, screen, True);
}
/* check for transient and set tags like its parent,
* XGetTransientForHint returns 1 on success
*/
@ -379,7 +381,6 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
/* should be floating if transsient or fixed */
if(!c->isfloating)
client_setfloating(c, rettrans || c->isfixed);
}
if(!(flags & (USPosition | PPosition)))
c->f_geometry = client_get_smart_geometry(c->f_geometry, c->border, c->screen);