From e0c56d36e6281d4365623b278fb574cb5b692a51 Mon Sep 17 00:00:00 2001 From: qsd Date: Mon, 27 Apr 2009 21:48:43 +0200 Subject: [PATCH] wibox: fix Left and Right wibox position computing (FS#512) Signed-off-by: Julien Danjou --- wibox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wibox.c b/wibox.c index f787f2c2..bbd57281 100644 --- a/wibox.c +++ b/wibox.c @@ -373,11 +373,11 @@ wibox_position_update_non_floating(wibox_t *wibox) break; case Left: if(wibox->position == Left) - area.x += wibox->sw.geometry.height; + area.x += wibox->sw.geometry.width; break; case Right: if(wibox->position == Right) - area.x -= wibox->sw.geometry.height; + area.x -= wibox->sw.geometry.width; break; case Top: switch(wibox->position)