summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.h5
-rw-r--r--dwm.html6
-rw-r--r--event.c2
-rw-r--r--main.c4
4 files changed, 11 insertions, 6 deletions
diff --git a/dwm.h b/dwm.h
index e7ddaa7..e43301c 100644
--- a/dwm.h
+++ b/dwm.h
@@ -8,9 +8,14 @@
8/********** CUSTOMIZE **********/ 8/********** CUSTOMIZE **********/
9 9
10#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" 10#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
11#define BGCOLOR "#0a2c2d"
12#define FGCOLOR "#ddeeee"
13#define BORDERCOLOR "#176164"
14/*
11#define BGCOLOR "#666699" 15#define BGCOLOR "#666699"
12#define FGCOLOR "#eeeeee" 16#define FGCOLOR "#eeeeee"
13#define BORDERCOLOR "#9999CC" 17#define BORDERCOLOR "#9999CC"
18*/
14#define MASTERW 52 /* percent */ 19#define MASTERW 52 /* percent */
15#define WM_PROTOCOL_DELWIN 1 20#define WM_PROTOCOL_DELWIN 1
16 21
diff --git a/dwm.html b/dwm.html
index 5e31a52..8f0aff6 100644
--- a/dwm.html
+++ b/dwm.html
@@ -74,9 +74,9 @@
74 wmiir and what not... 74 wmiir and what not...
75 </li> 75 </li>
76 <li> 76 <li>
77 garbeam <b>does not</b> want any feedback to dwm. If you ask for support, 77 Anselm <b>does not</b> want any feedback to dwm. If you ask for support,
78 feature requests, or if you report bugs, they will be <b>ignored</b> 78 feature requests, or if you report bugs, they will be <b>ignored</b>
79 with a high chance. dwm is only intended to fit garbeams needs. 79 with a high chance. dwm is only intended to fit Anselms needs.
80 However you are free to download and distribute/relicense it, with the 80 However you are free to download and distribute/relicense it, with the
81 conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>. 81 conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>.
82 </li> 82 </li>
@@ -99,7 +99,7 @@
99 <h3>Miscellaneous</h3> 99 <h3>Miscellaneous</h3>
100 <p> 100 <p>
101 You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a> 101 You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a>
102 if you like dwm and the dwm logo, which has been designed by garbeam. 102 if you like dwm and the dwm logo, which has been designed by Anselm.
103 </p> 103 </p>
104 <p><small>--Anselm (20060714)</small></p> 104 <p><small>--Anselm (20060714)</small></p>
105 </body> 105 </body>
diff --git a/event.c b/event.c
index 798cb3c..9a13eee 100644
--- a/event.c
+++ b/event.c
@@ -128,7 +128,7 @@ buttonpress(XEvent *e)
128 Client *c; 128 Client *c;
129 129
130 if(barwin == ev->window) { 130 if(barwin == ev->window) {
131 x = (arrange == dofloat) ? textw("~") : 0; 131 x = 0;
132 for(a.i = 0; a.i < TLast; a.i++) { 132 for(a.i = 0; a.i < TLast; a.i++) {
133 x += textw(tags[a.i]); 133 x += textw(tags[a.i]);
134 if(ev->x < x) { 134 if(ev->x < x) {
diff --git a/main.c b/main.c
index 935d860..5cf2738 100644
--- a/main.c
+++ b/main.c
@@ -204,12 +204,12 @@ main(int argc, char *argv[])
204 XSetErrorHandler(xerrorstart); 204 XSetErrorHandler(xerrorstart);
205 /* this causes an error if some other WM is running */ 205 /* this causes an error if some other WM is running */
206 XSelectInput(dpy, root, SubstructureRedirectMask); 206 XSelectInput(dpy, root, SubstructureRedirectMask);
207 XFlush(dpy); 207 XSync(dpy, False);
208 208
209 if(otherwm) 209 if(otherwm)
210 eprint("dwm: another window manager is already running\n"); 210 eprint("dwm: another window manager is already running\n");
211 211
212 XSetErrorHandler(0); 212 XSetErrorHandler(NULL);
213 xerrorxlib = XSetErrorHandler(xerror); 213 xerrorxlib = XSetErrorHandler(xerror);
214 214
215 /* init atoms */ 215 /* init atoms */