From 53ccf4e36ddde487d17015db65b4560e136b1d45 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Mon, 19 Jan 2009 19:40:26 +0000 Subject: [PATCH] width is no longer -2 by default so adjust bar width --- scrotwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrotwm.c b/scrotwm.c index be09a9b..2884b8b 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -479,7 +479,7 @@ bar_setup(struct swm_region *r) bar_height = bar_fs->ascent + bar_fs->descent + 3; r->bar_window = XCreateSimpleWindow(display, - r->s->root, X(r), Y(r), WIDTH(r), bar_height - 2, + r->s->root, X(r), Y(r), WIDTH(r) - 2, bar_height - 2, 1, r->s->bar_border, r->s->bar_color); bar_gc = XCreateGC(display, r->bar_window, 0, &bar_gcv); XSetFont(display, bar_gc, bar_fs->fid); -- 1.7.10.4