From 9e9b7c1bf35ad603ab045d9a6e4e7e20429cce77 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 8 Aug 2008 17:38:51 +0200 Subject: [PATCH] mouse: refresh titlebars on the fly Signed-off-by: Julien Danjou --- mouse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mouse.c b/mouse.c index 9c397d714..f13fa75c2 100644 --- a/mouse.c +++ b/mouse.c @@ -521,6 +521,7 @@ mouse_client_move(client_t *c, int snap, bool infobox) globalconf.screens[c->screen].need_arrange = true; globalconf.screens[newscreen].need_arrange = true; layout_refresh(); + titlebar_refresh(); } /* 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); globalconf.screens[c->screen].need_arrange = true; layout_refresh(); + titlebar_refresh(); } } @@ -784,6 +786,7 @@ mouse_client_resize_tiled(client_t *c) tag->mwfact = mwfact; globalconf.screens[tag->screen].need_arrange = true; layout_refresh(); + titlebar_refresh(); } } @@ -886,6 +889,7 @@ mouse_client_resize_magnified(client_t *c, bool infobox) tag->mwfact = mwfact; globalconf.screens[tag->screen].need_arrange = true; layout_refresh(); + titlebar_refresh(); } /* draw the infobox */