DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
X Version 11 (Release 6.1)

XMIT(X3xext)


MITSundryNonstandard -- Set bug compatibility mode between pre-R4 and R5 protocol.

Synopsis

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;

Description

Use XMITMiscSetBugMode to enable or disable the bug compatibility mode.

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.

Arguments


dpy
Specifies the X server connection.

error_basep
First event number for the extension.

event_basep
First error number for the extension.

onOff
A Boolean value, passed to set the bug compatibility mode: on (1, true) or Off (0, false).

References

Xlib - C Language X Interface
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004