diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 05:44:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 05:44:23 +0000 |
| commit | 6357583c396382dd6ed8ac42004177f204fabe62 (patch) | |
| tree | 0164f35e5fd59bdc2092b0d63dc35db8ae4152c5 /openbox/menu.c | |
| parent | 416b9d5f5f53468f954abbdffbc40003032c7f9a (diff) | |
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 - |
