projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbda7a
)
open the menu with the mouse cursor just outside the top item
author
Dana Jansens
<danakj@orodu.net>
Sun, 25 Mar 2007 17:32:58 +0000
(17:32 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 25 Mar 2007 17:32:58 +0000
(17:32 +0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index
0fba250
..
9455410
100644
(file)
--- 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);
}