X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fmenu%2Fclient_menu.c;h=aa09495ba5bd7fed3f5e5f8c8176914a7d04d249;hb=34e819738b344a992a1dbfd6cdd165e0c8ddb3a9;hp=50ebc7cf6fa379bad2f1f81b3b3af55e3d10381f;hpb=487c0a4a082d91523e1518411375b0a0229eb1b4;p=chaz%2Fopenbox 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),