mouse: refresh titlebars on the fly

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-08 17:38:51 +02:00
parent cde948bd61
commit 9e9b7c1bf3
1 changed files with 4 additions and 0 deletions

View File

@ -521,6 +521,7 @@ mouse_client_move(client_t *c, int snap, bool infobox)
globalconf.screens[c->screen].need_arrange = true; globalconf.screens[c->screen].need_arrange = true;
globalconf.screens[newscreen].need_arrange = true; globalconf.screens[newscreen].need_arrange = true;
layout_refresh(); layout_refresh();
titlebar_refresh();
} }
/* find client to swap with */ /* find client to swap with */
@ -532,6 +533,7 @@ mouse_client_move(client_t *c, int snap, bool infobox)
client_list_swap(&globalconf.clients, c, target); client_list_swap(&globalconf.clients, c, target);
globalconf.screens[c->screen].need_arrange = true; globalconf.screens[c->screen].need_arrange = true;
layout_refresh(); layout_refresh();
titlebar_refresh();
} }
} }
@ -784,6 +786,7 @@ mouse_client_resize_tiled(client_t *c)
tag->mwfact = mwfact; tag->mwfact = mwfact;
globalconf.screens[tag->screen].need_arrange = true; globalconf.screens[tag->screen].need_arrange = true;
layout_refresh(); layout_refresh();
titlebar_refresh();
} }
} }
@ -886,6 +889,7 @@ mouse_client_resize_magnified(client_t *c, bool infobox)
tag->mwfact = mwfact; tag->mwfact = mwfact;
globalconf.screens[tag->screen].need_arrange = true; globalconf.screens[tag->screen].need_arrange = true;
layout_refresh(); layout_refresh();
titlebar_refresh();
} }
/* draw the infobox */ /* draw the infobox */