fix bar left position

This commit is contained in:
Julien Danjou 2008-01-24 23:25:12 +01:00
parent 0ab751c69b
commit 4734a8af3d
1 changed files with 2 additions and 2 deletions

View File

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