1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It is one of the source files comprising zwgc, the Zephyr WindowGram
5 * Created by: Marc Horowitz <marc@athena.mit.edu>
7 * $Id: xerror.c,v 1.5 1999/08/13 00:19:51 danw Exp $
9 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
10 * For copying and distribution information, see the file
16 #if (!defined(lint) && !defined(SABER))
17 static const char rcsid_xerror_c[] = "$Id: xerror.c,v 1.5 1999/08/13 00:19:51 danw Exp $";
20 #include <zephyr/mit-copyright.h>
22 #ifndef X_DISPLAY_MISSING
30 static int xerrortrap(dpy,xerrev)
39 void begin_xerror_trap(dpy)
43 XSetErrorHandler(xerrortrap);
46 void end_xerror_trap(dpy)
50 XSetErrorHandler(NULL);