Mercurial > dwm-meillo
diff main.c @ 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 |
line wrap: on
line diff
--- a/main.c Sat Jul 15 17:19:19 2006 +0200 +++ b/main.c Sat Jul 15 18:11:14 2006 +0200 @@ -204,12 +204,12 @@ 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 */