From 8d7cc2597e51281e171744a750b6981ce74b7ead Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 30 Mar 2007 18:29:28 +0000 Subject: [PATCH] the centered menus thing got annoying :| --- openbox/menuframe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 9455410c..a4cb4647 100644 --- 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); -- 2.39.2