From e2bfc1ca5fdf0c576ea24e9ef763159e400b0d8d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 23 Feb 2009 15:39:37 +0100 Subject: [PATCH] wibox: fix south systray orientation (FS#459) Signed-off-by: Julien Danjou --- wibox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wibox.c b/wibox.c index e31b9e935..0593be8f2 100644 --- a/wibox.c +++ b/wibox.c @@ -229,7 +229,8 @@ wibox_systray_refresh(wibox_t *wibox) em = &globalconf.embedded.tab[j]; if(em->phys_screen == phys_screen) { - if(config_win_vals[1] + config_win_vals[3] <= (uint32_t) wibox->sw.geometry.y + wibox->sw.geometry.width) + /* if(y + width <= wibox.y + systray.right) */ + if(config_win_vals[1] + config_win_vals[3] <= (uint32_t) wibox->sw.geometry.y + AREA_RIGHT(systray->geometry)) { xcb_map_window(globalconf.connection, em->win); xcb_configure_window(globalconf.connection, em->win,