]> Dogcows Code - chaz/openbox/blobdiff - plugins/menu/client_menu.c
position the client menu right
[chaz/openbox] / plugins / menu / client_menu.c
index 9905291edf245066902cec4c1e2c507cc707a5ce..fb15c1bee381a95c10f9f93a2d1b494302f2ab8d 100644 (file)
@@ -47,9 +47,8 @@ void client_menu_show(Menu *self, int x, int y, Client *client)
     g_assert(!self->invalid);
     g_assert(client);
     
-    newy = MAX(client->frame->area.y +
-               client->frame->a_focused_title->area.height + theme_bwidth,
-               y - theme_bwidth);
+    newy = MAX(client->frame->area.y + client->frame->size.top, y);
+    newy -= theme_bwidth;
     
     POINT_SET(self->location, 
              MIN(x, screen_physical_size.width - self->size.width -
This page took 0.022089 seconds and 4 git commands to generate.