X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=02832cea8c7f8ab428490694acbf7b65ce864f7f;hb=1fdb434f5ddac7280676fbe91bed8a3d4d21b850;hp=edd26b69fa4ca4bf1b8a01aadbc3f79531d93df0;hpb=de383f35f792e05259da42263fb8b1dba7d2a3f5;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index edd26b69..02832cea 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -391,8 +391,9 @@ void focus_cycle_draw_indicator() gint wt, wl, wr, wb; wt = wl = wr = wb = MAX(3, - ob_rr_theme->handle_height + - ob_rr_theme->bwidth * 2); + MAX(1, MAX(ob_rr_theme->paddingx, + ob_rr_theme->paddingy)) * 2 + + ob_rr_theme->fbwidth * 2); x = focus_cycle_target->frame->area.x; y = focus_cycle_target->frame->area.y;