start menus with the cursor inside it, not over the border, a little closer to the items..
This commit is contained in:
parent
a1be19e627
commit
b7b187693e
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client)
|
||||||
menu_frame_hide_all();
|
menu_frame_hide_all();
|
||||||
|
|
||||||
frame = menu_frame_new(self, client);
|
frame = menu_frame_new(self, client);
|
||||||
menu_frame_move(frame, x, y);
|
menu_frame_move(frame, x - ob_rr_theme->bwidth, y - ob_rr_theme->bwidth);
|
||||||
menu_frame_show(frame, NULL);
|
menu_frame_show(frame, NULL);
|
||||||
if (frame->entries)
|
if (frame->entries)
|
||||||
menu_frame_select_next(frame);
|
menu_frame_select_next(frame);
|
||||||
|
|
Loading…
Reference in a new issue