removed drawclient and drawall (they performed useless operations/consumed useless cpu cycles)
This commit is contained in:
parent
0045ad87df
commit
f8181f64e2
5 changed files with 6 additions and 30 deletions
2
dwm.h
2
dwm.h
|
@ -117,9 +117,7 @@ extern void updatetitle(Client *c); /* update the name of c */
|
|||
extern void unmanage(Client *c); /* destroy c */
|
||||
|
||||
/* draw.c */
|
||||
extern void drawall(void); /* draw all visible client titles and the bar */
|
||||
extern void drawstatus(void); /* draw the bar */
|
||||
extern void drawclient(Client *c); /* draw title and set border of c */
|
||||
extern unsigned long getcolor(const char *colstr); /* return color of colstr */
|
||||
extern void setfont(const char *fontstr); /* set the font for DC */
|
||||
extern unsigned int textw(const char *text); /* return the width of text in px*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue