tapplied nsz' textnw patch thank you - dwm - [fork] customized build of dwm, th… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0840c1367ca8a8a6ef414df85456fabeae3e4dfa | |
parent 077d3e435baec5faa8182aea29723663ee6ae778 | |
Author: [email protected] <unknown> | |
Date: Mon, 9 Jun 2008 10:26:01 +0200 | |
applied nsz' textnw patch thank you | |
Diffstat: | |
M dwm.c | 10 ++++++---- | |
1 file changed, 6 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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); | |
t@@ -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; | |
t@@ -1308,7 +1309,8 @@ setmfact(const void *arg) { | |
void | |
setup(void) { | |
- uint i, w; | |
+ uint i; | |
+ int w; | |
XSetWindowAttributes wa; | |
/* init screen */ | |
t@@ -1413,7 +1415,7 @@ tag(const void *arg) { | |
} | |
} | |
-uint | |
+int | |
textnw(const char *text, uint len) { | |
XRectangle r; | |