also drawing empty bar

This commit is contained in:
Anselm R. Garbe 2006-05-29 10:08:29 +02:00
parent 9426f31161
commit c6bde2e403
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,7 @@ draw_bar()
blitz_drawborder(dpy, &d);
if(!bar.size)
return;
goto MapBar;
for(i = 0; (i < bar.size) && (w < brect.width); i++) {
b = bar.data[i];
@ -154,6 +154,7 @@ draw_bar()
blitz_drawlabel(dpy, &d);
blitz_drawborder(dpy, &d);
}
MapBar:
XCopyArea(dpy, barpmap, barwin, bargc, 0, 0, brect.width, brect.height, 0, 0);
XSync(dpy, False);
}