Bool XMITMiscQueryExtension (dpy, event_basep, error_basep) Display *dpy; int *event_baseP; int *error_basep;Status XMITMiscSetBugMode(dpy, onOff) Display *dpy; Bool onOff;
Bool XMITMiscGetBugMode(dpy) Display *dpy;
Various pre-R4 clients pass illegal values in some protocol requests, and pre-R4 servers did not correctly generate errors in these cases. Such clients, when run against an X11R5 server, will terminate abnormally or otherwise fail to operate correctly. Bug compatibility mode explicitly reintroduces certain bugs into the X server, so that many such clients can still be run. This mode should be used with care; new application development should be done with this mode disabled.
XMITMiscGetBugMode returns the current state of the bug compatibility mode.
The XMITMiscQueryExtension checks to see if the MITSundryNonstandard extensions are available for the specified display. If the extension is not present, False is returned; otherwise True is returned.