From: Dana Jansens Date: Thu, 9 Oct 2003 19:44:02 +0000 (+0000) Subject: change the min width of the indicator to 3 and use the actual height of the handle X-Git-Tag: openbox-3_0-rc4-RELEASE~77 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e2389fab7874a14043da56b98777450bacc549ef;p=dana%2Fopenbox.git change the min width of the indicator to 3 and use the actual height of the handle --- 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;