]> Dogcows Code - chaz/openbox/commitdiff
open the menu with the mouse cursor just outside the top item
authorDana Jansens <danakj@orodu.net>
Sun, 25 Mar 2007 17:32:58 +0000 (17:32 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 25 Mar 2007 17:32:58 +0000 (17:32 +0000)
openbox/menuframe.c

index 0fba250a06d1ba6215298686f150e142dadc27d9..9455410c24e4001085f2f9d3d1c1dff713b489a6 100644 (file)
@@ -194,7 +194,7 @@ void menu_frame_place_topmenu(ObMenuFrame *self, gint x, gint y)
         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;
+        y -= self->title_h;
     }
     menu_frame_move(self, x, y);
 }
This page took 0.024888 seconds and 4 git commands to generate.