From f60c597d653bd7eab6c620fc53d732ca75f6a880 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 15 Jul 2006 18:11:14 +0200 Subject: [PATCH] changing XFlush into XSync --- dwm.h | 5 +++++ dwm.html | 6 +++--- event.c | 2 +- main.c | 4 ++-- 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 @@ /********** CUSTOMIZE **********/ #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" +#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 index 5e31a52..8f0aff6 100644 --- a/dwm.html +++ b/dwm.html @@ -74,9 +74,9 @@ wmiir and what not...
  • - garbeam does not want any feedback to dwm. If you ask for support, + Anselm does not want any feedback to dwm. If you ask for support, feature requests, or if you report bugs, they will be ignored - with a high chance. dwm is only intended to fit garbeams needs. + with a high chance. dwm is only intended to fit Anselms needs. However you are free to download and distribute/relicense it, with the conditions of the MIT/X Consortium license.
  • @@ -99,7 +99,7 @@

    Miscellaneous

    You can purchase this tricot - if you like dwm and the dwm logo, which has been designed by garbeam. + if you like dwm and the dwm logo, which has been designed by Anselm.

    --Anselm (20060714)

    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) 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 index 935d860..5cf2738 100644 --- a/main.c +++ b/main.c @@ -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 */