X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.c;h=399bd2c5a3fb8e72f55ca93a80e30e97ebab34e1;hb=1a348576400b26dad3a58a81415c4c833fb4915c;hp=8ead9673929921e45c0981cf9bf79d4c761f1c9f;hpb=a92c209fc1845cf3f3acdfa3f9e8f0930fd53eb3;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index 8ead9673..399bd2c5 100644 --- a/render/theme.c +++ b/render/theme.c @@ -46,7 +46,8 @@ static int parse_inline_number(const char *p); static RrPixel32* read_c_image(gint width, gint height, const guint8 *data); static void set_default_appearance(RrAppearance *a); -static RrFont *get_font(RrFont *target, RrFont **default_font, const RrInstance *inst) +static RrFont *get_font(RrFont *target, RrFont **default_font, + const RrInstance *inst) { if (target) { RrFontRef(target); @@ -147,8 +148,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, theme->osd_unhilite_fg = RrAppearanceNew(inst, 0); /* load the font stuff */ - theme->win_font_focused = get_font(active_window_font, &default_font, inst); - theme->win_font_unfocused = get_font(inactive_window_font, &default_font, inst); + theme->win_font_focused = get_font(active_window_font, + &default_font, inst); + theme->win_font_unfocused = get_font(inactive_window_font, + &default_font, inst); winjust = RR_JUSTIFY_LEFT; if (read_string(db, "window.label.text.justify", &str)) {