position the client menu right
This commit is contained in:
parent
cd12a2eae5
commit
f90ee94d6b
1 changed files with 2 additions and 2 deletions
|
@ -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 -
|
||||
|
|
Loading…
Reference in a new issue