From 3278fdae73480a058e006d3f76c91dde8b1e3b79 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 25 Mar 2007 17:32:58 +0000 Subject: [PATCH] open the menu with the mouse cursor just outside the top item --- openbox/menuframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 0fba250a..9455410c 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -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; } else { x -= self->area.width / 2; - y -= ob_rr_theme->mbwidth + self->title_h; + y -= self->title_h; } menu_frame_move(self, x, y); } -- 2.44.0