]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
a) remove the top_grip_height business from the theme
[chaz/openbox] / openbox / focus.c
index edd26b69fa4ca4bf1b8a01aadbc3f79531d93df0..02832cea8c7f8ab428490694acbf7b65ce864f7f 100644 (file)
@@ -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;
This page took 0.020852 seconds and 4 git commands to generate.