summaryrefslogtreecommitdiff
path: root/plugins/menu
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-27 04:20:30 +0000
committerDana Jansens <danakj@orodu.net>2003-06-27 04:20:30 +0000
commit34e819738b344a992a1dbfd6cdd165e0c8ddb3a9 (patch)
tree479e77d920b6f595e92955dfcbb8fd0b63720ad1 /plugins/menu
parentd0abbec2e522119c0865f668b094c60a1712e24f (diff)
xinerama support
Diffstat (limited to 'plugins/menu')
-rw-r--r--plugins/menu/client_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c
index 50ebc7cf..aa09495b 100644
--- a/plugins/menu/client_menu.c
+++ b/plugins/menu/client_menu.c
@@ -50,6 +50,8 @@ void client_menu_show(Menu *self, int x, int y, Client *client)
newy = MAX(client->frame->area.y + client->frame->size.top, y);
newy -= ob_rr_theme->bwidth;
+ /* XXX do xinerama shit like in menu.c! im not coding it now because
+ this function isnt even being used right now... */
POINT_SET(self->location,
MIN(x, screen_physical_size.width - self->size.width -
ob_rr_theme->bwidth * 2),