from small one page howto to huge articles all in one place
 

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





XINERAMA

Section: C Library Functions (3)
Updated: libXinerama 1.1.1
Index Return to Main Contents
 

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FUNCTIONS
XineramaQueryExtension()
XineramaQueryVersion()
XineramaIsActive()
XineramaQueryScreens()
NOTE





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.0 ms