all repos — openbox @ 58788c781713092c6aa3a4544f8a06cd499ec4fd

openbox fork - make it a bit more like ryudo

the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set
Dana Jansens danakj@orodu.net
commit

58788c781713092c6aa3a4544f8a06cd499ec4fd

parent

b889d86e63c90a8e676309f74cd89897a80b4783

1 files changed, 3 insertions(+), 7 deletions(-)

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

@@ -351,14 +351,10 @@

static void setup_button_focus_tex(ObPromptElement *e, RrAppearance *a, gboolean on) { - gint l, r, t, b; - - if (!on) { - gint i; + gint i, l, r, t, b; - for (i = 1; i < 5; ++i) - a->texture[i].type = on ? RR_TEXTURE_LINE_ART : RR_TEXTURE_NONE; - } + for (i = 1; i < 5; ++i) + a->texture[i].type = on ? RR_TEXTURE_LINE_ART : RR_TEXTURE_NONE; if (!on) return;