fix bottom statusbar position
This commit is contained in:
parent
7ba97b3630
commit
0d1497d3bf
|
@ -54,7 +54,7 @@ statusbar_update_position(Statusbar *statusbar)
|
||||||
simplewindow_move(statusbar->sw, area.x, area.y);
|
simplewindow_move(statusbar->sw, area.x, area.y);
|
||||||
break;
|
break;
|
||||||
case Bottom:
|
case Bottom:
|
||||||
simplewindow_move(statusbar->sw, area.x, area.height - statusbar->sw->geometry.height);
|
simplewindow_move(statusbar->sw, area.x, (area.y + area.height) - statusbar->sw->geometry.height);
|
||||||
break;
|
break;
|
||||||
case Left:
|
case Left:
|
||||||
simplewindow_move(statusbar->sw, area.x - statusbar->sw->geometry.height,
|
simplewindow_move(statusbar->sw, area.x - statusbar->sw->geometry.height,
|
||||||
|
|
Loading…
Reference in New Issue