]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
saved session information overrides per-app settings, because that's how you set...
[chaz/openbox] / openbox / menuframe.c
index 0fba250a06d1ba6215298686f150e142dadc27d9..a4cb464740aa100719bc14baf17a9146456318ee 100644 (file)
@@ -193,8 +193,10 @@ 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;
-        y -= ob_rr_theme->mbwidth + self->title_h;
+        if (config_menu_middle) {
+            x -= self->area.width / 2;
+        }
+        y -= self->title_h;
     }
     menu_frame_move(self, x, y);
 }
This page took 0.02474 seconds and 4 git commands to generate.