aewl
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 diff
1.1 --- a/main.c Sat Jul 15 17:19:19 2006 +0200 1.2 +++ b/main.c Sat Jul 15 18:11:14 2006 +0200 1.3 @@ -204,12 +204,12 @@ 1.4 XSetErrorHandler(xerrorstart); 1.5 /* this causes an error if some other WM is running */ 1.6 XSelectInput(dpy, root, SubstructureRedirectMask); 1.7 - XFlush(dpy); 1.8 + XSync(dpy, False); 1.9 1.10 if(otherwm) 1.11 eprint("dwm: another window manager is already running\n"); 1.12 1.13 - XSetErrorHandler(0); 1.14 + XSetErrorHandler(NULL); 1.15 xerrorxlib = XSetErrorHandler(xerror); 1.16 1.17 /* init atoms */