about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c
index 123707c..92b1ff2 100644
--- a/dwm.c
+++ b/dwm.c
@@ -166,7 +166,7 @@ void setmfact(const void *arg);
 void setup(void);
 void spawn(const void *arg);
 void tag(const void *arg);
-uint textnw(const char *text, uint len);
+int textnw(const char *text, uint len);
 void tile(void);
 void togglebar(const void *arg);
 void togglefloating(const void *arg);
@@ -296,7 +296,8 @@ attachstack(Client *c) {
 
 void
 buttonpress(XEvent *e) {
-	uint i, x, mask;
+	uint i, mask;
+	int x;
 	Client *c;
 	XButtonPressedEvent *ev = &e->xbutton;
 
@@ -1308,7 +1309,8 @@ setmfact(const void *arg) {
 
 void
 setup(void) {
-	uint i, w;
+	uint i;
+	int w;
 	XSetWindowAttributes wa;
 
 	/* init screen */
@@ -1413,7 +1415,7 @@ tag(const void *arg) {
 	}
 }
 
-uint
+int
 textnw(const char *text, uint len) {
 	XRectangle r;
 
7a8'>cc952d63 ^
845bd407 ^

ccc950aa ^
c3cdeb9c ^

845bd407 ^


2052eb74 ^


cc952d63 ^

23236d0c ^
cc952d63 ^


23236d0c ^
d46a05a8 ^
ea87d005 ^
cc952d63 ^
23236d0c ^
cc952d63 ^

23236d0c ^
cc952d63 ^
23236d0c ^


cc952d63 ^
d46a05a8 ^
23236d0c ^

cc952d63 ^
d46a05a8 ^
1b0786f2 ^



d46a05a8 ^
1b0786f2 ^





d46a05a8 ^

845bd407 ^




d46a05a8 ^
23236d0c ^


cc952d63 ^
23236d0c ^
d46a05a8 ^
23236d0c ^


cc952d63 ^
23236d0c ^

871c502d ^
cc952d63 ^
23236d0c ^

d46a05a8 ^
23236d0c ^










d46a05a8 ^
23236d0c ^




ea87d005 ^
d46a05a8 ^
ac0daa33 ^
23236d0c ^
ac0daa33 ^
845bd407 ^
d46a05a8 ^
845bd407 ^






ea87d005 ^
c3cdeb9c ^


ea87d005 ^
c3cdeb9c ^


ea87d005 ^
d46a05a8 ^
845bd407 ^
c3cdeb9c ^
845bd407 ^
d46a05a8 ^
845bd407 ^

ea87d005 ^
d46a05a8 ^
845bd407 ^






ea87d005 ^
d46a05a8 ^
845bd407 ^
8e1de917 ^
ea87d005 ^
d46a05a8 ^
845bd407 ^

ea87d005 ^
d46a05a8 ^
845bd407 ^
8e1de917 ^
845bd407 ^
d46a05a8 ^
845bd407 ^




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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174