From 6357583c396382dd6ed8ac42004177f204fabe62 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 05:44:23 +0000 Subject: rename 'xinerama' stuff to 'monitors' to be more generic and descriptive. --- openbox/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/menu.c') diff --git a/openbox/menu.c b/openbox/menu.c index f7eef7fb..23bb1128 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -403,8 +403,8 @@ void menu_control_show(Menu *self, int x, int y, Client *client) { g_assert(!self->invalid); - for (i = 0; i < screen_num_xin_areas; ++i) { - a = screen_physical_area_xinerama(i); + for (i = 0; i < screen_num_monitors; ++i) { + a = screen_physical_area_monitor(i); if (RECT_CONTAINS(*a, x, y)) break; } @@ -449,7 +449,7 @@ void menu_control_mouseover(MenuEntry *self, gboolean enter) { /* need to get the width. is this bad?*/ menu_render(self->submenu); - a = screen_physical_area_xinerama(self->parent->xin_area); + a = screen_physical_area_monitor(self->parent->xin_area); if (self->submenu->size.width + x >= a->x + a->width) x = self->parent->location.x - self->submenu->size.width - -- cgit v1.2.3