]> Dogcows Code - chaz/openbox/commitdiff
the centered menus thing got annoying :|
authorDana Jansens <danakj@orodu.net>
Fri, 30 Mar 2007 18:29:28 +0000 (18:29 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 30 Mar 2007 18:29:28 +0000 (18:29 +0000)
openbox/menuframe.c

index 9455410c24e4001085f2f9d3d1c1dff713b489a6..a4cb464740aa100719bc14baf17a9146456318ee 100644 (file)
@@ -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);
This page took 0.025811 seconds and 4 git commands to generate.