fix bottom statusbar position

This commit is contained in:
Julien Danjou 2008-01-23 17:18:49 +01:00
parent 7ba97b3630
commit 0d1497d3bf
1 changed files with 1 additions and 1 deletions

View File

@ -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,