Fixed issue #44

This commit is contained in:
Bert Münnich 2012-03-16 21:03:49 +01:00
parent edd016945a
commit 8ab3cee6a5

View file

@ -393,7 +393,8 @@ void win_draw(win_t *win) {
if (win == NULL || win->xwin == None) if (win == NULL || win->xwin == None)
return; return;
win_draw_bar(win); if (win->barh > 0)
win_draw_bar(win);
XSetWindowBackgroundPixmap(win->env.dpy, win->xwin, win->pm); XSetWindowBackgroundPixmap(win->env.dpy, win->xwin, win->pm);
XClearWindow(win->env.dpy, win->xwin); XClearWindow(win->env.dpy, win->xwin);