fix bottom statusbar position

This commit is contained in:
Julien Danjou 2008-01-23 17:18:49 +01:00
parent 7ba97b3630
commit 0d1497d3bf

View file

@ -54,7 +54,7 @@ statusbar_update_position(Statusbar *statusbar)
simplewindow_move(statusbar->sw, area.x, area.y);
break;
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;
case Left:
simplewindow_move(statusbar->sw, area.x - statusbar->sw->geometry.height,