X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fmenu%2Fclient_menu.c;h=fb15c1bee381a95c10f9f93a2d1b494302f2ab8d;hb=f90ee94d6b5bc1fa3b026050233e1b74269c2304;hp=9905291edf245066902cec4c1e2c507cc707a5ce;hpb=f7df74b9cc9369fe401d5622c097e258a124f742;p=chaz%2Fopenbox diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c index 9905291e..fb15c1be 100644 --- a/plugins/menu/client_menu.c +++ b/plugins/menu/client_menu.c @@ -47,9 +47,8 @@ void client_menu_show(Menu *self, int x, int y, Client *client) g_assert(!self->invalid); g_assert(client); - newy = MAX(client->frame->area.y + - client->frame->a_focused_title->area.height + theme_bwidth, - y - theme_bwidth); + newy = MAX(client->frame->area.y + client->frame->size.top, y); + newy -= theme_bwidth; POINT_SET(self->location, MIN(x, screen_physical_size.width - self->size.width -