[titlebar] Collapse for all position

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-26 11:07:23 +01:00
parent 15256cccc1
commit 227c31fd77
1 changed files with 1 additions and 3 deletions

View File

@ -559,10 +559,8 @@ client_resize(Client *c, area_t geometry, Bool hints)
}
/* call it again like it was floating,
* because for right or bottom titlebar,
* we want it to be sticked to the window */
if(!c->ismoving && !c->isfloating && layout->arrange != layout_floating
&& (c->titlebar.position == Right || c->titlebar.position == Bottom))
if(!c->ismoving && !c->isfloating && layout->arrange != layout_floating)
titlebar_update_geometry_floating(c);
return resized;