From 004a152550ddd4aa0c18eb7e14bbb369825e9ee5 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 5 Sep 2008 02:09:06 +0200 Subject: [PATCH] mouse: redraw statusbar rt on screen move Signed-off-by: Julien Danjou --- mouse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mouse.c b/mouse.c index 86428fa8..0088cb2a 100644 --- a/mouse.c +++ b/mouse.c @@ -27,6 +27,7 @@ #include "tag.h" #include "client.h" #include "titlebar.h" +#include "statusbar.h" #include "layouts/floating.h" #include "layouts/tile.h" #include "layouts/magnifier.h" @@ -530,6 +531,8 @@ mouse_client_move(client_t *c, int snap, bool infobox) if(sw) mouse_infobox_draw(ctx, sw, c->geometry, c->border); + statusbar_refresh(); + /* keep track */ last_x = mouse_x; last_y = mouse_y; @@ -548,6 +551,7 @@ mouse_client_move(client_t *c, int snap, bool infobox) globalconf.screens[newscreen].need_arrange = true; layout_refresh(); titlebar_refresh(); + statusbar_refresh(); } /* find client to swap with */