about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--client.c4
-rw-r--r--draw.c4
-rw-r--r--dwm.h2
-rw-r--r--event.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/client.c b/client.c
index a6b7815..8110263 100644
--- a/client.c
+++ b/client.c
@@ -96,7 +96,7 @@ focus(Client *c) {
 		sel = c;
 		if(old) {
 			grabbuttons(old, False);
-			drawtitle(old);
+			drawclient(old);
 		}
 	}
 	if(c) {
@@ -104,7 +104,7 @@ focus(Client *c) {
 		c->snext = stack;
 		stack = c;
 		grabbuttons(c, True);
-		drawtitle(c);
+		drawclient(c);
 		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
 	}
 	else
diff --git a/draw.c b/draw.c
index c4448db..9a469f9 100644
--- a/draw.c
+++ b/draw.c
@@ -102,7 +102,7 @@ drawall(void) {
 	Client *c;
 
 	for(c = clients; c; c = getnext(c->next))
-		drawtitle(c);
+		drawclient(c);
 	drawstatus();
 }
 
@@ -138,7 +138,7 @@ drawstatus(void) {
 }
 
 void
-drawtitle(Client *c) {
+drawclient(Client *c) {
 	if(c == sel && issel) {
 		drawstatus();
 		XUnmapWindow(dpy, c->twin);
diff --git a/dwm.h b/dwm.h
index a77c3bd..e6daa33 100644
--- a/dwm.h
+++ b/dwm.h
@@ -124,7 +124,7 @@ 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 drawtitle(Client *c);		/* draw title of c */
+extern void drawclient(Client *c);		/* draw title 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*/
diff --git a/event.c b/event.c
index 0043ed2..c9ad387 100644
--- a/event.c
+++ b/event.c
@@ -236,7 +236,7 @@ expose(XEvent *e) {
 		if(barwin == ev->window)
 			drawstatus();
 		else if((c = getctitle(ev->window)))
-			drawtitle(c);
+			drawclient(c);
 	}
 }
 
@@ -320,7 +320,7 @@ propertynotify(XEvent *e) {
 		if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
 			updatetitle(c);
 			resizetitle(c);
-			drawtitle(c);
+			drawclient(c);
 		}
 	}
 }
fa03e81460e3e41f7238'>^
3791ec0 ^
f777d21 ^
eb184e0 ^


3791ec0 ^





eb184e0 ^



3791ec0 ^

eb184e0 ^



3791ec0 ^

eb184e0 ^





d8675f6 ^
eb184e0 ^




3791ec0 ^


eb184e0 ^

3791ec0 ^

eb184e0 ^


6458d72 ^

605630c ^
6649dcc ^
3791ec0 ^
f777d21 ^


650a1fb ^
605630c ^
1e7e57d ^
6649dcc ^
1f0060c ^

6649dcc ^

1e7e57d ^

d8675f6 ^

f777d21 ^

d8675f6 ^
3657eae ^
650a1fb ^
6649dcc ^
650a1fb ^

6649dcc ^
650a1fb ^
0dfe729 ^


3657eae ^
6458d72 ^

f60c597 ^
6458d72 ^
f1a34ae ^
650a1fb ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126