From ff1bd3163395cee6fdd81c411c679af9253358aa Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 28 Mar 2008 11:35:56 +0100 Subject: [PATCH] [client] Optimize condition Signed-off-by: Julien Danjou --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 0a8a530c..688b2b73 100644 --- a/client.c +++ b/client.c @@ -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)