mirror of https://github.com/0intro/wmii
also drawing empty bar
This commit is contained in:
parent
9426f31161
commit
c6bde2e403
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue