diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-02-18 20:43:18 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-18 20:43:18 -0500 |
| commit | 3263845459d15da683b7cab92fb856acbdf2800e (patch) | |
| tree | 15bc390602a83a0f919e8a1faa7f8a20c8a4f542 /openbox/prompt.c | |
| parent | 9e05faf3d6ac1c527032efb7210de8bbfeb2212c (diff) | |
| parent | 041d17373e046b5ee6667b10c1492bb518bac097 (diff) | |
Merge branch 'backport' into work
Conflicts:
openbox/grab.c
openbox/keyboard.c
Diffstat (limited to 'openbox/prompt.c')
| -rw-r--r-- | openbox/prompt.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/openbox/prompt.c b/openbox/prompt.c index 3328a1b2..df36c8c3 100644 --- a/openbox/prompt.c +++ b/openbox/prompt.c @@ -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; |
