event: redraw titlebar right after config req

This allow more beautiful drawing effect.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-31 17:39:20 +02:00
parent 4016877ad4
commit e0abfac892
1 changed files with 3 additions and 0 deletions

View File

@ -200,7 +200,10 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
|| geometry.width != c->geometry.width || geometry.height != c->geometry.height) || geometry.width != c->geometry.width || geometry.height != c->geometry.height)
{ {
if(c->isfloating || layout_get_current(c->screen) == layout_floating) if(c->isfloating || layout_get_current(c->screen) == layout_floating)
{
client_resize(c, geometry, false); client_resize(c, geometry, false);
titlebar_draw(c);
}
else else
{ {
globalconf.screens[c->screen].need_arrange = true; globalconf.screens[c->screen].need_arrange = true;