Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SmplErHndlr(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026