XINERAMA - Online Linux Manual PageSection : 3
Updated : libXinerama 1.1.5
Source : X Version 11

NAMEXinerama − 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);

ARGUMENTSdisplay 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.

DESCRIPTIONXinerama 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.

NOTEThe 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.
0
Johanes Gumabo
Data Size   :   11,027 byte
man-XineramaQueryVersion.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 236,888
Visitor ID   :     :  
Visitor IP   :   18.217.241.235   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.