aewl
changeset 78:0d71fb80b592
changing XFlush into XSync
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Sat, 15 Jul 2006 18:11:14 +0200 |
parents | 38c8f7f7d401 |
children | aabebd6e61f3 |
files | dwm.h dwm.html event.c main.c |
diffstat | 4 files changed, 11 insertions(+), 6 deletions(-) [+] |
line diff
1.1 --- a/dwm.h Sat Jul 15 17:19:19 2006 +0200 1.2 +++ b/dwm.h Sat Jul 15 18:11:14 2006 +0200 1.3 @@ -8,9 +8,14 @@ 1.4 /********** CUSTOMIZE **********/ 1.5 1.6 #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" 1.7 +#define BGCOLOR "#0a2c2d" 1.8 +#define FGCOLOR "#ddeeee" 1.9 +#define BORDERCOLOR "#176164" 1.10 +/* 1.11 #define BGCOLOR "#666699" 1.12 #define FGCOLOR "#eeeeee" 1.13 #define BORDERCOLOR "#9999CC" 1.14 +*/ 1.15 #define MASTERW 52 /* percent */ 1.16 #define WM_PROTOCOL_DELWIN 1 1.17
2.1 --- a/dwm.html Sat Jul 15 17:19:19 2006 +0200 2.2 +++ b/dwm.html Sat Jul 15 18:11:14 2006 +0200 2.3 @@ -74,9 +74,9 @@ 2.4 wmiir and what not... 2.5 </li> 2.6 <li> 2.7 - garbeam <b>does not</b> want any feedback to dwm. If you ask for support, 2.8 + Anselm <b>does not</b> want any feedback to dwm. If you ask for support, 2.9 feature requests, or if you report bugs, they will be <b>ignored</b> 2.10 - with a high chance. dwm is only intended to fit garbeams needs. 2.11 + with a high chance. dwm is only intended to fit Anselms needs. 2.12 However you are free to download and distribute/relicense it, with the 2.13 conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>. 2.14 </li> 2.15 @@ -99,7 +99,7 @@ 2.16 <h3>Miscellaneous</h3> 2.17 <p> 2.18 You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a> 2.19 - if you like dwm and the dwm logo, which has been designed by garbeam. 2.20 + if you like dwm and the dwm logo, which has been designed by Anselm. 2.21 </p> 2.22 <p><small>--Anselm (20060714)</small></p> 2.23 </body>
3.1 --- a/event.c Sat Jul 15 17:19:19 2006 +0200 3.2 +++ b/event.c Sat Jul 15 18:11:14 2006 +0200 3.3 @@ -128,7 +128,7 @@ 3.4 Client *c; 3.5 3.6 if(barwin == ev->window) { 3.7 - x = (arrange == dofloat) ? textw("~") : 0; 3.8 + x = 0; 3.9 for(a.i = 0; a.i < TLast; a.i++) { 3.10 x += textw(tags[a.i]); 3.11 if(ev->x < x) {
4.1 --- a/main.c Sat Jul 15 17:19:19 2006 +0200 4.2 +++ b/main.c Sat Jul 15 18:11:14 2006 +0200 4.3 @@ -204,12 +204,12 @@ 4.4 XSetErrorHandler(xerrorstart); 4.5 /* this causes an error if some other WM is running */ 4.6 XSelectInput(dpy, root, SubstructureRedirectMask); 4.7 - XFlush(dpy); 4.8 + XSync(dpy, False); 4.9 4.10 if(otherwm) 4.11 eprint("dwm: another window manager is already running\n"); 4.12 4.13 - XSetErrorHandler(0); 4.14 + XSetErrorHandler(NULL); 4.15 xerrorxlib = XSetErrorHandler(xerror); 4.16 4.17 /* init atoms */