event: remove need_arrange on resize

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-05-10 16:42:15 +02:00
parent 25b3e718d1
commit dfc01b2599
1 changed files with 1 additions and 3 deletions

View File

@ -279,9 +279,7 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
* window size, i.e. without titlebars and borders. */
geometry = titlebar_geometry_add(c->titlebar, c->border, geometry);
if(client_resize(c, geometry, false))
client_need_arrange(c);
else
if(!client_resize(c, geometry, false))
{
/* Resize wasn't officially needed, but we don't want to break expectations. */
geometry = titlebar_geometry_remove(c->titlebar, c->border, c->geometry);