wibox: fix south systray orientation (FS#459)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-02-23 15:39:37 +01:00
parent 8b79502302
commit e2bfc1ca5f
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ wibox_systray_refresh(wibox_t *wibox)
em = &globalconf.embedded.tab[j]; em = &globalconf.embedded.tab[j];
if(em->phys_screen == phys_screen) 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_map_window(globalconf.connection, em->win);
xcb_configure_window(globalconf.connection, em->win, xcb_configure_window(globalconf.connection, em->win,