From 56307d60773d0eaf65b10414cd0e3ec0b2adc156 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 8 Mar 2007 01:26:03 +0000 Subject: a) remove the top_grip_height business from the theme b) make the focus indicator based on border width and padding, not the handle height c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things --- openbox/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/focus.c') diff --git a/openbox/focus.c b/openbox/focus.c index ad7252b8..02832cea 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -391,7 +391,8 @@ void focus_cycle_draw_indicator() gint wt, wl, wr, wb; wt = wl = wr = wb = MAX(3, - ob_rr_theme->top_grip_height + + MAX(1, MAX(ob_rr_theme->paddingx, + ob_rr_theme->paddingy)) * 2 + ob_rr_theme->fbwidth * 2); x = focus_cycle_target->frame->area.x; -- cgit v1.2.3