all repos — openbox @ 38ed4331b1a2858e4700154e10b9bd3a030cdbbf

openbox fork - make it a bit more like ryudo

indenting
Dana Jansens danakj@orodu.net
commit

38ed4331b1a2858e4700154e10b9bd3a030cdbbf

parent

322fc41e496022b1fdfc4753424146496148f232

1 files changed, 20 insertions(+), 20 deletions(-)

jump to
M render/theme.crender/theme.c

@@ -503,7 +503,7 @@ if (!read_appearance(db, inst,

"window.active.label.bg", theme->app_hilite_fg, TRUE)) set_default_appearance(theme->app_hilite_fg); - else if (theme->app_hilite_label->surface.grad == RR_SURFACE_PARENTREL) { + else if (theme->app_hilite_fg->surface.grad == RR_SURFACE_PARENTREL) { if (!read_appearance(db, inst, "window.active.title.bg", theme->app_hilite_fg,

@@ -1282,27 +1282,27 @@ bcname = g_strconcat(rname, ".border.color", NULL);

icname = g_strconcat(rname, ".interlace.color", NULL); if (XrmGetResource(db, rname, rclass, &rettype, &retvalue) && - retvalue.addr != NULL) { - parse_appearance(retvalue.addr, - &value->surface.grad, - &value->surface.relief, - &value->surface.bevel, - &value->surface.interlaced, - &value->surface.border, + retvalue.addr != NULL) { + parse_appearance(retvalue.addr, + &value->surface.grad, + &value->surface.relief, + &value->surface.bevel, + &value->surface.interlaced, + &value->surface.border, allow_trans); - if (!read_color(db, inst, cname, &value->surface.primary)) - value->surface.primary = RrColorNew(inst, 0, 0, 0); - if (!read_color(db, inst, ctoname, &value->surface.secondary)) - value->surface.secondary = RrColorNew(inst, 0, 0, 0); - if (value->surface.border) - if (!read_color(db, inst, bcname, - &value->surface.border_color)) - value->surface.border_color = RrColorNew(inst, 0, 0, 0); + if (!read_color(db, inst, cname, &value->surface.primary)) + value->surface.primary = RrColorNew(inst, 0, 0, 0); + if (!read_color(db, inst, ctoname, &value->surface.secondary)) + value->surface.secondary = RrColorNew(inst, 0, 0, 0); + if (value->surface.border) + if (!read_color(db, inst, bcname, + &value->surface.border_color)) + value->surface.border_color = RrColorNew(inst, 0, 0, 0); if (value->surface.interlaced) - if (!read_color(db, inst, icname, - &value->surface.interlace_color)) - value->surface.interlace_color = RrColorNew(inst, 0, 0, 0); - ret = TRUE; + if (!read_color(db, inst, icname, + &value->surface.interlace_color)) + value->surface.interlace_color = RrColorNew(inst, 0, 0, 0); + ret = TRUE; } g_free(icname);