tchanging XFlush into XSync - dwm - [fork] customized build of dwm, the dynamic… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f60c597d653bd7eab6c620fc53d732ca75f6a880 | |
parent c09bf8da071e05e2c1d714f0d31d41fe944bc11b | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Sat, 15 Jul 2006 18:11:14 +0200 | |
changing XFlush into XSync | |
Diffstat: | |
M dwm.h | 5 +++++ | |
M dwm.html | 6 +++--- | |
M event.c | 2 +- | |
M main.c | 4 ++-- | |
4 files changed, 11 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/dwm.h b/dwm.h | |
t@@ -8,9 +8,14 @@ | |
/********** CUSTOMIZE **********/ | |
#define FONT "-*-terminus-medium-*-*-*-13-*-*-*… | |
+#define BGCOLOR "#0a2c2d" | |
+#define FGCOLOR "#ddeeee" | |
+#define BORDERCOLOR "#176164" | |
+/* | |
#define BGCOLOR "#666699" | |
#define FGCOLOR "#eeeeee" | |
#define BORDERCOLOR "#9999CC" | |
+*/ | |
#define MASTERW 52 /* percent */ | |
#define WM_PROTOCOL_DELWIN 1 | |
diff --git a/dwm.html b/dwm.html | |
t@@ -74,9 +74,9 @@ | |
wmiir and what not... | |
</li> | |
<li> | |
- garbeam <b>does not</b> want any feedback to dwm. If y… | |
+ Anselm <b>does not</b> want any feedback to dwm. If yo… | |
feature requests, or if you report bugs, they will be … | |
- with a high chance. dwm is only intended to fit garbea… | |
+ with a high chance. dwm is only intended to fit Anselm… | |
However you are free to download and distribute/relice… | |
conditions of the <a href="http://wmii.de/cgi-bin/hgwe… | |
</li> | |
t@@ -99,7 +99,7 @@ | |
<h3>Miscellaneous</h3> | |
<p> | |
You can purchase this <a href="https://www.spreadshirt.net/sho… | |
- if you like dwm and the dwm logo, which has been designed by g… | |
+ if you like dwm and the dwm logo, which has been designed by A… | |
</p> | |
<p><small>--Anselm (20060714)</small></p> | |
</body> | |
diff --git a/event.c b/event.c | |
t@@ -128,7 +128,7 @@ buttonpress(XEvent *e) | |
Client *c; | |
if(barwin == ev->window) { | |
- x = (arrange == dofloat) ? textw("~") : 0; | |
+ x = 0; | |
for(a.i = 0; a.i < TLast; a.i++) { | |
x += textw(tags[a.i]); | |
if(ev->x < x) { | |
diff --git a/main.c b/main.c | |
t@@ -204,12 +204,12 @@ main(int argc, char *argv[]) | |
XSetErrorHandler(xerrorstart); | |
/* this causes an error if some other WM is running */ | |
XSelectInput(dpy, root, SubstructureRedirectMask); | |
- XFlush(dpy); | |
+ XSync(dpy, False); | |
if(otherwm) | |
eprint("dwm: another window manager is already running\n"); | |
- XSetErrorHandler(0); | |
+ XSetErrorHandler(NULL); | |
xerrorxlib = XSetErrorHandler(xerror); | |
/* init atoms */ |