X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/ca65478c8968434c78aacf4a102ccbbe4a66ad9e..f315832f75ce9f419a2942bc29fcaa737e8b2883:/draw.c diff --git a/draw.c b/draw.c index e8ee08d..3fbac5b 100644 --- a/draw.c +++ b/draw.c @@ -80,7 +80,7 @@ drawtext(const char *text, unsigned long col[ColLast], Bool highlight) { /* extern */ void -drawall() { +drawall(void) { Client *c; for(c = clients; c; c = getnext(c->next)) @@ -89,7 +89,7 @@ drawall() { } void -drawstatus() { +drawstatus(void) { int i, x; dc.x = dc.y = 0; @@ -104,7 +104,7 @@ drawstatus() { } dc.w = bmw; - drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False); + drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False); x = dc.x + dc.w; dc.w = textw(stext);