This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XINERAMA(3)                                                                                      XINERAMA(3)



NAME
       Xinerama - API for Xinerama extension to X11 Protocol

SYNOPSIS
       #include <X11/extensions/Xinerama.h>

       Bool XineramaQueryExtension (Display *dpy,
            int *event_basep, int *error_basep);

       Status XineramaQueryVersion (Display *dpy,
            int *major_versionp,
            int *minor_versionp);

       Bool XineramaIsActive (Display *dpy);

       XineramaScreenInfo * XineramaQueryScreens (Display *dpy,
            int *number);

ARGUMENTS
       display   Specifies the connection to the X server.

       event_basep
                 Specifies the return location for the assigned base event code

       error_basep
                 Specifies the return location for the assigned base error code

       major_versionp
                 Returns the major version supported by the server

       minor_versionp
                 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 and error_base 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 and error_base are undefined.



   XineramaQueryVersion()
       The  XineramaQueryVersion  function  returns the version of the Xinerama extension implemented by the
       Xserver. The version is returned in major_versionp and minor_versionp.  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 Xin-erama Xinerama
       erama 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.






X Version 11                                  libXinerama 1.0.3                                  XINERAMA(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...