From f60c597d653bd7eab6c620fc53d732ca75f6a880 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Sat, 15 Jul 2006 18:11:14 +0200 Subject: changing XFlush into XSync --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') 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 */ -- cgit v1.2.3