summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-21 01:53:26 +0000
committerDana Jansens <danakj@orodu.net>2003-06-21 01:53:26 +0000
commitb1f5555218ecaa3827450125dc47b4bf0d404ee4 (patch)
tree693db64d34df6381b1c434178ba3ccd062d5e8f6 /plugins
parenta4a0cb78294bb1809b836ea1e86e9d7294bb2929 (diff)
put the render theme into a struct
Diffstat (limited to 'plugins')
-rw-r--r--plugins/menu/client_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c
index fb15c1be..7e15f3f9 100644
--- a/plugins/menu/client_menu.c
+++ b/plugins/menu/client_menu.c
@@ -48,13 +48,13 @@ void client_menu_show(Menu *self, int x, int y, Client *client)
g_assert(client);
newy = MAX(client->frame->area.y + client->frame->size.top, y);
- newy -= theme_bwidth;
+ newy -= ob_rr_theme->bwidth;
POINT_SET(self->location,
MIN(x, screen_physical_size.width - self->size.width -
- theme_bwidth * 2),
+ ob_rr_theme->bwidth * 2),
MIN(newy, screen_physical_size.height - self->size.height -
- theme_bwidth * 2));
+ ob_rr_theme->bwidth * 2));
XMoveWindow(ob_display, self->frame, self->location.x, self->location.y);
if (!self->shown) {