NAME
XmuSimpleErrorHandler — an error handler that ignores certain errors.
SYNOPSIS
#include <X11/Xmu/Error.h>
int XmuSimpleErrorHandler(display, error)
Display ∗display;
XErrorEvent ∗error;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
errorSpecifies the error event.
DESCRIPTION
XmuSimpleErrorHandler ignores BadWindow errors for XQueryTree() and XGetWindowAttributes(), and ignores BadDrawable errors for XGetGeometry(); it returns zero in those cases. Otherwise, it prints the default error message, and returns a non-zero value if the caller should consider exiting, and zero if the caller should not exit.
SEE ALSO
XmuPrintDefaultErrorMessage.
Xlib Reference Manual