diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-25 17:32:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-25 17:32:58 +0000 |
| commit | 3278fdae73480a058e006d3f76c91dde8b1e3b79 (patch) | |
| tree | d7c7e44abfe00ca679a69ea6d488f76df09a1948 | |
| parent | cbbda7a363e0be925072c77b521af5546b9d5da1 (diff) | |
open the menu with the mouse cursor just outside the top item
| -rw-r--r-- | openbox/menuframe.c | 2 |
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); } |
