From: Dana Jansens Date: Sun, 25 Mar 2007 17:32:58 +0000 (+0000) Subject: open the menu with the mouse cursor just outside the top item X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=3278fdae73480a058e006d3f76c91dde8b1e3b79;p=chaz%2Fopenbox open the menu with the mouse cursor just outside the top item --- 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); }