XINERAMA
NAMESYNOPSIS
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/idn.conf.5.html
idn.conf.5 - idn.conf(5) - configuration files for idnkit library........
idn.conf and .idnrc are configuration files for idnkit library which is a toolkit for handling internationalized domain names. idnkit library tries to load the
manpages/eview.1.html
eview(1) - easy Vim, edit a file with Vim and setup for mode
eVim starts Vim and sets options to make it behave like a modeless editor. This is still Vim but used as a point-and-click editor. This feels a lot like using N
manpages/tcpdump.1.html
tcpdump(1) - dump traffic on a network - Linux manual page
Tcpdump prints out a description of the contents of packets on a network interface that match the boolean expression. It can also be run with the -w flag, which
manpages/nss-myhostname.8.html
nss-myhostname(8) Provide hostname resolution for the locall
nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution for the locally config
manpages/lvmdiskscan.8.html
lvmdiskscan(8) - scan for all devices visible to LVM2.......
lvmdiskscan scans all SCSI, (E)IDE disks, multiple devices and a bunch of other block devices in the system looking for LVM physical volumes. The size reported
manpages/XQueryPointer.3.html
XQueryPointer(3) - get pointer coordinates - Linux man page
The XQueryPointer function returns the root window the pointer is logically on and the pointer coordinates relative to the root windows origin. If XQueryPointer
manpages/menu_value.3menu.html
menu_value(3menu) - set and get menu item values (Man Page)
If you turn off the menu option O_ONEVALUE (e.g., with set_menu_opts or menu_opts_off; see opts(3MENU)), the menu becomes multi-valued; that is, more than one i
manpages/log2.3.html
log2(3) - base-2 logarithmic function - Linux manual page...
The log2() function returns the base 2 logarithm of x. RETURN VALUE On success, these functions return the base 2 logarithm of x. For special cases, including w
manpages/agetty.8.html
agetty(8) - alternative Linux getty - Linux manual page.....
agetty opens a tty port, prompts for a login name and invokes the /bin/login command. It is normally invoked by init(8). agetty has several non-standard feature
manpages/xinetd.conf.5.html
xinetd.conf(5) - Extended Internet Services Daemon configura
xinetd.conf is the configuration file that determines the services provided by xinetd. Any line whose first non-white-space character is a # is considered a com
manpages/if_indextoname.3.html
if_indextoname(3) mappings between network interface names a
The if_nametoindex() function returns the index of the network interface corresponding to the name ifname. The if_indextoname() function returns the name of the
manpages/rmid.1.html
rmid(1) - The Java RMI Activation System Daemon (Man Page)
The rmid tool starts the activation system daemon. The activation system daemon must be started before activatable objects can be either registered with the act
