diff options
author | okan | 2013-04-12 14:49:16 +0000 |
---|---|---|
committer | okan | 2013-04-12 14:49:16 +0000 |
commit | 285f525717f7e82a5db698d21376939fdf847306 (patch) | |
tree | cf4612bcf800ef1aa6381fb3a291a4ce7e69d2ac | |
parent | 41200e99e2cf274538d8533ee449dfa610932e07 (diff) | |
download | cwm-285f525717f7e82a5db698d21376939fdf847306.tar.gz |
makes no sense to set an error handler which uses X_Dpy before XOpenDisplay.
Diffstat (limited to '')
-rw-r--r-- | calmwm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.c,v 1.73 2013/04/12 14:46:30 okan Exp $ + * $OpenBSD: calmwm.c,v 1.74 2013/04/12 14:49:16 okan Exp $ */ #include <sys/param.h> @@ -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)); |