projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e785e18
)
the centered menus thing got annoying :|
author
Dana Jansens
<danakj@orodu.net>
Fri, 30 Mar 2007 18:29:28 +0000
(18:29 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 30 Mar 2007 18:29:28 +0000
(18:29 +0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index
9455410
..
a4cb464
100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-193,7
+193,9
@@
void menu_frame_place_topmenu(ObMenuFrame *self, gint x, gint y)
x = self->client->frame->area.x + self->client->frame->size.left;
y = self->client->frame->area.y + self->client->frame->size.top;
} else {
- x -= self->area.width / 2;
+ if (config_menu_middle) {
+ x -= self->area.width / 2;
+ }
y -= self->title_h;
}
menu_frame_move(self, x, y);