From e2389fab7874a14043da56b98777450bacc549ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 9 Oct 2003 19:44:02 +0000 Subject: [PATCH] change the min width of the indicator to 3 and use the actual height of the handle --- openbox/focus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbox/focus.c b/openbox/focus.c index 5d0d4d41..2533f27e 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -378,7 +378,9 @@ void focus_cycle_draw_indicator() int x, y, w, h; int wt, wl, wr, wb; - wt = wl = wr = wb = MAX(5, ob_rr_theme->handle_height); + wt = wl = wr = wb = MAX(3, + ob_rr_theme->handle_height + + ob_rr_theme->bwidth * 2); x = focus_cycle_target->frame->area.x; y = focus_cycle_target->frame->area.y; -- 2.39.2