summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-09 19:44:02 +0000
committerDana Jansens <danakj@orodu.net>2003-10-09 19:44:02 +0000
commite2389fab7874a14043da56b98777450bacc549ef (patch)
tree52f13a6bf629b9929f512f4d430c547d81f8d4ea /openbox
parenta95a364b9aa89ac409ec33d38940efee8931cca4 (diff)
change the min width of the indicator to 3 and use the actual height of the handle
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c4
1 files changed, 3 insertions, 1 deletions
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;