From 573aaf7edeab41ee8f50400b0ecb952a5527d067 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 Apr 2003 07:08:40 +0000 Subject: make the icon larger than the buttons by one pixel in each direction, this makes it as tall as the label and lets it fit more image in --- openbox/framerender.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/framerender.c') diff --git a/openbox/framerender.c b/openbox/framerender.c index 59ede4d8..a149b1bb 100644 --- a/openbox/framerender.c +++ b/openbox/framerender.c @@ -162,13 +162,13 @@ static void framerender_icon(Frame *self, Appearance *a) if (self->client->nicons) { Icon *icon = client_icon(self->client, - theme_button_size, theme_button_size); + theme_button_size + 2, theme_button_size + 2); a->texture[0].type = RGBA; a->texture[0].data.rgba.width = icon->width; a->texture[0].data.rgba.height = icon->height; a->texture[0].data.rgba.data = icon->data; RECT_SET(self->a_icon->texture[0].position, 0, 0, - theme_button_size,theme_button_size); + theme_button_size + 2, theme_button_size + 2); } else a->texture[0].type = NoTexture; -- cgit v1.2.3