[client] Optimize condition

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-28 11:35:56 +01:00
parent 9db8635523
commit ff1bd31633
1 changed files with 2 additions and 2 deletions

View File

@ -383,8 +383,8 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
tag_client(c, tag);
/* should be floating if transsient or fixed */
if(!c->isfloating)
client_setfloating(c, rettrans || c->isfixed);
if(rettrans || c->isfixed)
client_setfloating(c, True);
/* titlebar init */
if(rule && rule->titlebar.position != Auto)