[client] Optimize condition
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9db8635523
commit
ff1bd31633
4
client.c
4
client.c
|
@ -383,8 +383,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
tag_client(c, tag);
|
tag_client(c, tag);
|
||||||
|
|
||||||
/* should be floating if transsient or fixed */
|
/* should be floating if transsient or fixed */
|
||||||
if(!c->isfloating)
|
if(rettrans || c->isfixed)
|
||||||
client_setfloating(c, rettrans || c->isfixed);
|
client_setfloating(c, True);
|
||||||
|
|
||||||
/* titlebar init */
|
/* titlebar init */
|
||||||
if(rule && rule->titlebar.position != Auto)
|
if(rule && rule->titlebar.position != Auto)
|
||||||
|
|
Loading…
Reference in New Issue