summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-25 17:32:58 +0000
committerDana Jansens <danakj@orodu.net>2007-03-25 17:32:58 +0000
commit3278fdae73480a058e006d3f76c91dde8b1e3b79 (patch)
treed7c7e44abfe00ca679a69ea6d488f76df09a1948
parentcbbda7a363e0be925072c77b521af5546b9d5da1 (diff)
open the menu with the mouse cursor just outside the top item
-rw-r--r--openbox/menuframe.c2
1 files changed, 1 insertions, 1 deletions
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);
}