diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-20 02:19:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-20 02:19:53 +0000 |
| commit | f90ee94d6b5bc1fa3b026050233e1b74269c2304 (patch) | |
| tree | 93f59a4df0cc5352b6b88ea9b81c04b33c0566e3 /plugins | |
| parent | cd12a2eae5b5b72df08d588ac71d1f6cf6725dfb (diff) | |
position the client menu right
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/menu/client_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c index 142c6654..fb15c1be 100644 --- a/plugins/menu/client_menu.c +++ b/plugins/menu/client_menu.c @@ -47,8 +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->size.top, - 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 - |
