renamed drawstatus into drawbar
Anselm R. Garbe garbeam@gmail.com
Sat, 15 Sep 2007 12:36:42 +0200
M
dwm.h
→
dwm.h
@@ -104,7 +104,7 @@ void updatesizehints(Client *c); /* update the size hint variables of c */
void updatetitle(Client *c); /* update the name of c */ /* draw.c */ -void drawstatus(void); /* draw the bar */ +void drawbar(void); /* draw the bar */ void drawtext(const char *text, unsigned long col[ColLast]); /* draw text */ unsigned int textw(const char *text); /* return the width of text in px*/
M
main.c
→
main.c
@@ -326,7 +326,7 @@ XSetErrorHandler(NULL);
xerrorxlib = XSetErrorHandler(xerror); XSync(dpy, False); setup(); - drawstatus(); + drawbar(); scan(); /* main event loop, also reads status text from stdin */@@ -359,7 +359,7 @@ for(; p >= stext && *p != '\n'; --p);
if(p > stext) strncpy(stext, p + 1, sizeof stext); } - drawstatus(); + drawbar(); } while(XPending(dpy)) { XNextEvent(dpy, &ev);
M
screen.c
→
screen.c
@@ -213,7 +213,7 @@ Client *c;
XEvent ev; XWindowChanges wc; - drawstatus(); + drawbar(); if(!sel) return; if(sel->isfloating || isfloating())@@ -255,7 +255,7 @@ }
if(sel) arrange(); else - drawstatus(); + drawbar(); } void@@ -307,7 +307,7 @@ resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True);
} else resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True); - drawstatus(); + drawbar(); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); }