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:
parent
4016877ad4
commit
e0abfac892
3
event.c
3
event.c
|
@ -200,7 +200,10 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
|
|||
|| geometry.width != c->geometry.width || geometry.height != c->geometry.height)
|
||||
{
|
||||
if(c->isfloating || layout_get_current(c->screen) == layout_floating)
|
||||
{
|
||||
client_resize(c, geometry, false);
|
||||
titlebar_draw(c);
|
||||
}
|
||||
else
|
||||
{
|
||||
globalconf.screens[c->screen].need_arrange = true;
|
||||
|
|
Loading…
Reference in New Issue