mouse: redraw statusbar rt on screen move
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0ab012a401
commit
004a152550
4
mouse.c
4
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 */
|
||||
|
|
Loading…
Reference in New Issue