XPanoramiXQueryVersion(3X11)
XineramaQueryVersion - return the version numbers of the Xinerama extension
As shipped in IRIX 6.5.15. Added in IRIX 6.5.15.
NAME XineramaQueryVersion - return the version numbers of the Xinerama extension SYNTAX #include <X11/extensions/Xinerama.h> Status XineramaQueryVersion( Display *dpy, int *major_version, int *minor_version ); ARGUMENTS dpy Specifies the connection to the X server. major Returns major version number of the Xinerama extension supported by the X server. minor Returns minor version number of the Xinerama extension supported by the X server. DESCRIPTION XineramaQueryVersion returns the major and minor version number of the Xinerama extension implemented by the server associated with connection dpy. XineramaQueryVersion returns True if the version of the Xinerama library and Xinerama server are compatible, False otherwise. major_version and minor_version are not updated when False is returned. DIAGNOSTICS BadImplementation The X client library uses an older version of the Xinerama protocol that is not supported by the X server. BUGS In order to conform to Xorg's proposal of a Xinerama standard, there is a protocol incompatibility between the Xinerama versions 1.0 (IRIX 6.5.10) and 1.1 (IRIX 6.5.11) and the Xinerama versions 1.2 and later (IRIX 6.5.12 and later). XineramaQueryVersion traps this protocol incompatibility in version 1.2 and later. The following message is printed to STDOUT: "Xinerama server version X.x uses non-standard protocol" if the protocols used by the X client library and X server are not compatible (i.e. the Xinerama library is version 1.2 or later and the Xinerama server is version 1.0 or 1.1). XineramaQueryVersion will accompany this error with a return value of False. The following message is written to the SYSLOG of the X server machine: "Xinerama client library version Y.y uses non-standard protocol" if the protocols used by the X client library and X server are not compatible (i.e. the Xinerama server is version 1.2 or later and the Xinerama library is version 1.0 or 1.1). The X server will throw a BadImplementation error, and XineramaQueryVersion will return False. A workaround for this protocol incompatibility is to use a client and server that both support the same Xinerama version. SEE ALSO Xinerama(3X11), XineramaQueryExtension(3X11).