From b5f6bd205c97405e85cf19f3a1f4f162400d7897 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 12 Apr 2013 14:49:16 +0000 Subject: makes no sense to set an error handler which uses X_Dpy before XOpenDisplay. --- calmwm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/calmwm.c b/calmwm.c index d2aecf9..7bc204a 100644 --- a/calmwm.c +++ b/calmwm.c @@ -129,8 +129,6 @@ dpy_init(const char *dpyname) { int i; - XSetErrorHandler(x_errorhandler); - if ((X_Dpy = XOpenDisplay(dpyname)) == NULL) errx(1, "unable to open display \"%s\"", XDisplayName(dpyname)); -- cgit 1.4.1