diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-28 09:48:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-28 09:48:58 +0000 |
| commit | b7b187693e2e78b1d68cc88e8521a067194f05b2 (patch) | |
| tree | d9eca1b52607ed3e3c072beea118111842d80a51 /openbox/menu.c | |
| parent | a1be19e6270bfff7c41d648659e7a629f815eb6f (diff) | |
start menus with the cursor inside it, not over the border, a little closer to the items..
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c index 69256f5f..5efacc2a 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -290,7 +290,7 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client) menu_frame_hide_all(); 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); if (frame->entries) menu_frame_select_next(frame); |
