From 8ab3cee6a5fba0bd5d7ad092c30c65490f2cd524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Fri, 16 Mar 2012 21:03:49 +0100 Subject: Fixed issue #44 --- window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'window.c') diff --git a/window.c b/window.c index 455e216..b320b47 100644 --- a/window.c +++ b/window.c @@ -393,7 +393,8 @@ void win_draw(win_t *win) { if (win == NULL || win->xwin == None) return; - win_draw_bar(win); + if (win->barh > 0) + win_draw_bar(win); XSetWindowBackgroundPixmap(win->env.dpy, win->xwin, win->pm); XClearWindow(win->env.dpy, win->xwin); -- cgit v1.2.3