X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=render%2Ftheme.c;h=6c0316b9d5be2e137a1fba0a111e2e6acb995b6e;hb=d77c8f62f2f908cfe1d09686a35dce1ccaf65aec;hp=e89e4dc903bf68dffa486a435a04e79187da0da8;hpb=335a0eecc748153036be7611237ed52632473de9;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index e89e4dc9..6c0316b9 100644 --- a/render/theme.c +++ b/render/theme.c @@ -904,7 +904,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) theme->padding * 2; } theme->button_size = theme->label_height - 2; - theme->grip_width = theme->title_height * 1.5; + theme->grip_width = 25; return theme; } @@ -1196,6 +1196,8 @@ static void parse_appearance(gchar *tex, RrSurfaceColorType *grad, *grad = RR_SURFACE_CROSS_DIAGONAL; else if (strstr(tex, "pyramid") != NULL) *grad = RR_SURFACE_PYRAMID; + else if (strstr(tex, "osx") != NULL) + *grad = RR_SURFACE_OSX; else if (strstr(tex, "horizontal") != NULL) *grad = RR_SURFACE_HORIZONTAL; else if (strstr(tex, "vertical") != NULL)