From 0d1497d3bf4372e7f7769e6a92e67fca7fef50c8 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Jan 2008 17:18:49 +0100 Subject: [PATCH] fix bottom statusbar position --- statusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusbar.c b/statusbar.c index 3f404fc2..a08d1dd6 100644 --- a/statusbar.c +++ b/statusbar.c @@ -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,