From cd12a2eae5b5b72df08d588ac71d1f6cf6725dfb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Jun 2003 02:17:23 +0000 Subject: simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. --- plugins/menu/client_menu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/menu/client_menu.c') diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c index 9905291e..142c6654 100644 --- a/plugins/menu/client_menu.c +++ b/plugins/menu/client_menu.c @@ -47,8 +47,7 @@ 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, + newy = MAX(client->frame->area.y + client->frame->size.top, y - theme_bwidth); POINT_SET(self->location, -- cgit v1.2.3