From: Dana Jansens Date: Fri, 30 Mar 2007 18:29:28 +0000 (+0000) Subject: the centered menus thing got annoying :| X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=8d7cc2597e51281e171744a750b6981ce74b7ead;p=chaz%2Fopenbox the centered menus thing got annoying :| --- 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);