open the menu with the mouse cursor just outside the top item
This commit is contained in:
parent
cbbda7a363
commit
3278fdae73
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ void menu_frame_place_topmenu(ObMenuFrame *self, gint x, gint y)
|
||||||
y = self->client->frame->area.y + self->client->frame->size.top;
|
y = self->client->frame->area.y + self->client->frame->size.top;
|
||||||
} else {
|
} else {
|
||||||
x -= self->area.width / 2;
|
x -= self->area.width / 2;
|
||||||
y -= ob_rr_theme->mbwidth + self->title_h;
|
y -= self->title_h;
|
||||||
}
|
}
|
||||||
menu_frame_move(self, x, y);
|
menu_frame_move(self, x, y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue