check transient and isfixed for setting floating state, even if we can loadprops
This commit is contained in:
parent
1b63e8a3c5
commit
768aef8960
3
client.c
3
client.c
|
@ -367,6 +367,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
move_client_to_screen(c, screen, True);
|
move_client_to_screen(c, screen, True);
|
||||||
|
}
|
||||||
|
|
||||||
/* check for transient and set tags like its parent,
|
/* check for transient and set tags like its parent,
|
||||||
* XGetTransientForHint returns 1 on success
|
* XGetTransientForHint returns 1 on success
|
||||||
*/
|
*/
|
||||||
|
@ -379,7 +381,6 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
/* should be floating if transsient or fixed */
|
/* should be floating if transsient or fixed */
|
||||||
if(!c->isfloating)
|
if(!c->isfloating)
|
||||||
client_setfloating(c, rettrans || c->isfixed);
|
client_setfloating(c, rettrans || c->isfixed);
|
||||||
}
|
|
||||||
|
|
||||||
if(!(flags & (USPosition | PPosition)))
|
if(!(flags & (USPosition | PPosition)))
|
||||||
c->f_geometry = client_get_smart_geometry(c->f_geometry, c->border, c->screen);
|
c->f_geometry = client_get_smart_geometry(c->f_geometry, c->border, c->screen);
|
||||||
|
|
Loading…
Reference in New Issue