]> Dogcows Code - chaz/openbox/commitdiff
position the client menu right
authorDana Jansens <danakj@orodu.net>
Fri, 20 Jun 2003 02:19:53 +0000 (02:19 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 20 Jun 2003 02:19:53 +0000 (02:19 +0000)
plugins/menu/client_menu.c

index 142c665427b4401c4a96942c58c8e1d0c633c3d3..fb15c1bee381a95c10f9f93a2d1b494302f2ab8d 100644 (file)
@@ -47,8 +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->size.top,
-               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.022836 seconds and 4 git commands to generate.