XineramaQueryExtension(3)


HOME

XINERAMA

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FUNCTIONS
NOTE

NAME

Xinerama − API for Xinerama extension to X11 Protocol

SYNOPSIS

#include <X11/extensions/Xinerama.h>

Bool XineramaQueryExtension (Display *dpy,

int *event_base_return, int *error_base_return);

Status XineramaQueryVersion (Display *dpy,

int *major_version_return,

int *minor_version_return);

Bool XineramaIsActive (Display *dpy);

XineramaScreenInfo * XineramaQueryScreens (Display *dpy,

int *number);

ARGUMENTS

display

Specifies the connection to the X server.

event_base_return

Specifies the return location for the assigned base event code

error_base_return

Specifies the return location for the assigned base error code

major_version_return

Returns the major version supported by the server

minor_version_return

Returns the minor version supported by the server

number

Returns the number of entries in the returned XineramaScreenInfo array.

DESCRIPTION

Xinerama is a simple library designed to interface the Xinerama Extension for retrieving information about physical output devices which may be combined into a single logical X screen.

FUNCTIONS

XineramaQueryExtension()
The XineramaQueryExtension function queries the Xserver to determine the availability of the Xinerama Extension. If the extension is available, the return value is True, and event_base_return and error_base_return are set to the base event number and base error number for the extension, respectively. Otherwise, the return value is False, and the values of event_base_return and error_base_return are undefined.

XineramaQueryVersion()
The XineramaQueryVersion function returns the version of the Xinerama extension implemented by the Xserver. The version is returned in major_version_return and minor_version_return. The major version will be incremented for protocol incompatible changes, and the minor version will be incremented for small, upwardly compatible changes.

If the Xinerama library is compatible with the version returned by the server, it returns nonzero. If the server does not support the XINERAMA extension, or if there was an error during communications with the server, or if the server and library protocol versions are incompatible, it returns zero.

XineramaIsActive()
The XineramaIsActive function returns a Boolean operator used to determine if Xinerama is activated on the screen. Returns True for active and False for not active.

XineramaQueryScreens()
The XineramaQueryScreens() function returns info about each individual output device within the Xinerama Screen. The integer pointed to by the number argument is updated to the number of output devices listed in the returned array of XineramaScreenInfo structures. XineramaQueryScreens() returns NULL and sets number to 0 if Xinerama is not active.

The pointer returned should be released with XFree(3) when no longer needed.

NOTE

The original API provided for interacting with the XINERAMA extension used function names beginning with XPanoramiX. That API is now deprecated and this API should be used instead in new software.



More Linux Commands

manpages/glPixelStorei.3gl.html
glPixelStorei(3gl) - set pixel storage modes (Man Page).....
glPixelStore sets pixel storage modes that affect the operation of subsequent glDrawPixels and glReadPixels as well as the unpacking of polygon stipple patterns

manpages/bib1-attr.7.html
bib1-attr(7) - Bib-1 Attribute Set - Linux manual page......
This reference entry lists the Bib-1 attribute set types and values. TYPES The Bib-1 attribute defines six attribute types: Use (1), Relation (2), Position (3),

manpages/Tcl_UniCharToUpper.3.html
Tcl_UniCharToUpper(3) - routines for manipulating the case o
The first three routines convert the case of individual Unicode characters: If ch represents a lower-case character, Tcl_UniCharToUpper returns the correspondin

manpages/elfedit.1.html
elfedit(1) - Update the ELF header of ELF files. (Man Page)
elfedit updates the ELF header of ELF files which have the matching ELF machine and file types. The options control how and which fields in the ELF header shoul

manpages/Mail::DKIM::Canonicalization::DkimCommon.3pm.html
Mail::DKIM::Canonicalization::DkimCommon(3pm) - common canon
This class implements functionality that is common to all the currently-defined DKIM canonicalization methods, but not necessarily common with future canonicali

manpages/XtParent.3.html
XtParent(3) - obtain widget's parent widget id (Man Page)...
XtParent returns the widgets parent widget ID. SEE ALSO X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface XtParent.3 (Library - Linux ma

manpages/pacat.1.html
pacat(1) - Play back or record raw or encoded audio streams
pacat is a simple tool for playing back or capturing raw or encoded audio files on a PulseAudio sound server. OPTIONS -h | --help Show help. --version Show vers

manpages/acl_to_text.3.html
acl_to_text(3) - convert an ACL to text - Linux manual page
The acl_to_text() function translates the ACL pointed to by the argument acl into a NULL terminated character string. If the pointer len_p is not NULL, then the

manpages/gnutls_x509_trust_list_add_cas.3.html
gnutls_x509_trust_list_add_cas(3) - API function (Man Page)
This function will add the given certificate authorities to the trusted list. The list of CAs must not be deinitialized during this structures lifetime. RETURNS

manpages/gnutls_cipher_set_iv.3.html
gnutls_cipher_set_iv(3) - API function - Linux manual page
This function will set the IV to be used for the next encryption block. SINCE 3.0.0 REPORTING BUGS Report bugs to &lt;bug-gnutls@gnu.org&gt;. GnuTLS home page: http:/

manpages/intrflush_sp.3ncurses.html
intrflush_sp(3ncurses) - curses screen-pointer extension....
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/Tcl_GetErrno.3.html
Tcl_GetErrno(3) - manipulate errno to store and retrieve err
Tcl_SetErrno and Tcl_GetErrno provide portable access to the errno variable, which is used to record a POSIX error code after system calls and other operations





We can't live, work or learn in freedom unless the software we use is free.