]> Dogcows Code - chaz/openbox/blobdiff - openbox/prompt.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / prompt.c
index 3328a1b231f749fddc1dcf122cff7824c751aeb2..df36c8c3127e9b49cbb489db30a6cce1a1f4c0ff 100644 (file)
@@ -349,14 +349,10 @@ static void prompt_resize(ObPrompt *self, gint w, gint h)
 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;
 
This page took 0.020461 seconds and 4 git commands to generate.