diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-20 02:17:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-20 02:17:23 +0000 |
| commit | cd12a2eae5b5b72df08d588ac71d1f6cf6725dfb (patch) | |
| tree | 56413723ec877b3da05e2ece758b45b98d5b589c /plugins/menu/client_menu.c | |
| parent | 349d0167dbee10ccb1c6200709286a5134ac7121 (diff) | |
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.
Diffstat (limited to 'plugins/menu/client_menu.c')
| -rw-r--r-- | plugins/menu/client_menu.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, |
