ewmh/infobar: Add ewmh_set_workarea in uicb_infobar_togglepos for update the workarea geometry when the bar is moving
This commit is contained in:
parent
4594561647
commit
838b579e08
@ -193,7 +193,7 @@ ewmh_set_workarea(void)
|
||||
for(j = 0; j < conf.ntag[i]; ++j)
|
||||
{
|
||||
data[pos++] = sgeo[i].x - BORDH;
|
||||
data[pos++] = sgeo[i].y;
|
||||
data[pos++] = sgeo[i].y - TBARH;
|
||||
data[pos++] = sgeo[i].width;
|
||||
data[pos++] = sgeo[i].height;
|
||||
}
|
||||
|
||||
@ -204,6 +204,7 @@ uicb_infobar_togglepos(uicb_t cmd)
|
||||
|
||||
barwin_move(infobar[selscreen].bar, sgeo[selscreen].x - BORDH, infobar[selscreen].geo.y);
|
||||
infobar_draw(selscreen);
|
||||
ewmh_set_workarea();
|
||||
|
||||
arrange();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user