Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
077d3e4
)
applied nsz' textnw patch thank you
author
[email protected]
<unknown>
Mon, 9 Jun 2008 08:26:01 +0000
(10:26 +0200)
committer
[email protected]
<unknown>
Mon, 9 Jun 2008 08:26:01 +0000
(10:26 +0200)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
123707c
..
92b1ff2
100644
(file)
--- 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);
void setup(void);
void spawn(const void *arg);
void tag(const void *arg);
-
u
int 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);
void tile(void);
void togglebar(const void *arg);
void togglefloating(const void *arg);
@@
-296,7
+296,8
@@
attachstack(Client *c) {
void
buttonpress(XEvent *e) {
void
buttonpress(XEvent *e) {
- uint i, x, mask;
+ uint i, mask;
+ int x;
Client *c;
XButtonPressedEvent *ev = &e->xbutton;
Client *c;
XButtonPressedEvent *ev = &e->xbutton;
@@
-1308,7
+1309,8
@@
setmfact(const void *arg) {
void
setup(void) {
void
setup(void) {
- uint i, w;
+ uint i;
+ int w;
XSetWindowAttributes wa;
/* init screen */
XSetWindowAttributes wa;
/* init screen */
@@
-1413,7
+1415,7
@@
tag(const void *arg) {
}
}
}
}
-
u
int
+int
textnw(const char *text, uint len) {
XRectangle r;
textnw(const char *text, uint len) {
XRectangle r;