Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed drawclient and drawall (they performed useless operations/consumed useless...
[dwm.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
19604f3
..
fe2951c
100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-98,15
+98,6
@@
drawtext(const char *text, unsigned long col[ColLast], Bool filledsquare, Bool e
/* extern */
void
/* extern */
void
-drawall(void) {
- Client *c;
-
- for(c = clients; c; c = getnext(c->next))
- drawclient(c);
- drawstatus();
-}
-
-void
drawstatus(void) {
int i, x;
drawstatus(void) {
int i, x;
@@
-137,17
+128,6
@@
drawstatus(void) {
XSync(dpy, False);
}
XSync(dpy, False);
}
-void
-drawclient(Client *c) {
- if(c == sel && issel) {
- drawstatus();
- XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
- return;
- }
- XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
- XSync(dpy, False);
-}
-
unsigned long
getcolor(const char *colstr) {
Colormap cmap = DefaultColormap(dpy, screen);
unsigned long
getcolor(const char *colstr) {
Colormap cmap = DefaultColormap(dpy, screen);