From: Marco Peereboom Date: Mon, 19 Jan 2009 19:40:26 +0000 (+0000) Subject: width is no longer -2 by default so adjust bar width X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=53ccf4e36ddde487d17015db65b4560e136b1d45;p=spectrwm.git width is no longer -2 by default so adjust bar width --- 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);