all repos — openbox @ ea94909334695004bee5fbc4bfc9fdff90c6b079

openbox fork - make it a bit more like ryudo

couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
Dana Jansens danakj@orodu.net
commit

ea94909334695004bee5fbc4bfc9fdff90c6b079

parent

7f7378cc2b0712de050a93bdfa116788de06a23a

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

jump to
M openbox/popup.copenbox/popup.c

@@ -97,7 +97,7 @@ gint textw, texth;

gint iconw; if (!self->a_text) - self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label); + self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label); self->a_text->texture[0].data.text.string = text; RrMinsize(self->a_text, &textw, &texth);

@@ -112,7 +112,7 @@

void popup_set_text_align(Popup *self, RrJustify align) { if (!self->a_text) - self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label); + self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label); self->a_text->texture[0].data.text.justify = align; }

@@ -125,11 +125,11 @@ gint iconw;

/* create the shit if needed */ if (!self->a_bg) - self->a_bg = RrAppearanceCopy(ob_rr_theme->app_hilite_bg); + self->a_bg = RrAppearanceCopy(ob_rr_theme->app_selected_bg); if (self->hasicon && !self->a_icon) self->a_icon = RrAppearanceCopy(ob_rr_theme->a_clear_tex); if (!self->a_text) - self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label); + self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label); XSetWindowBorderWidth(ob_display, self->bg, ob_rr_theme->bwidth); XSetWindowBorder(ob_display, self->bg, ob_rr_theme->b_color->pixel);