DMXAddScreen(3)



DMXAddScreen

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
NOTES
SEE ALSO

NAME

DMXAddScreen − attach a new back-end screen

SYNOPSIS

#include <X11/extensions/dmxext.h>

Bool DMXAddScreen(Display *dpy,
const char
*displayName,
unsigned int
mask,
DMXScreenAttributes
*attr,
int
*screen);

DESCRIPTION

DMXAddScreen() attaches a back-end screen to the Xdmx(1) server, in place of the previously detached back-end server specified by screen.

displayName is the name of the new back-end display, mask specifies the field in attr that are active, and screen returns the new Xdmx(1) screen number for the attached screen.

The information stored in mask and attr is identical to that used by the DMXChangeScreenAttributes(3) and DMXGetScreenAttribues(3) functions.

RETURN VALUE

DMXAddScreen() will return True if the screen was successfully attached, and False otherwise. False will be returned if the −addremovescreens command line option was not specified on the Xdmx(1) command line, the input value of screen is out of range, screen is not currently detached, displayName cannot be opened, has unexpected visuals, or has characteristics that do not match the previously detached screen.

DMXAddScreen() can generate BadLength, BadAlloc, and BadValue errors.

NOTES

Attributes that are not specified will default to 0. This may lead to unintended results.

Unlike other functions in the DMX(3) API, this function uses screen for both input and output.

SEE ALSO

DMXRemoveScreen(3), DMXChangeScreenAttributes(3), DMXGetScreenAttributes(3), DMX(3), Xdmx(1)



More Linux Commands

manpages/Mail::SpamAssassin::Plugin::TextCat.3pm.html
Mail::SpamAssassin::Plugin::TextCat(3pm) - TextCat language
This plugin will try to guess the language used in the message body text. You can use the ok_languages directive to set which languages are considered okay for

manpages/ldattach.8.html
ldattach(8) - attach a line discipline to a serial line.....
The ldattach daemon opens the specified device file (which should refer to a serial device) and attaches the line discipline ldisc to it for processing of the s

manpages/auparse_find_field.3.html
auparse_find_field(3) - search for field name (Man Page)....
auparse_find_field will scan all records in an event to find the first occurance of the field name passed to it. Searching begins from the cursors current posit

manpages/regexec.3.html
regexec(3) - POSIX regex functions - Linux manual page......
POSIX regex compiling regcomp() is used to compile a regular expression into a form that is suitable for subsequent regexec() searches. regcomp() is supplied wi

manpages/Tcl_SetAssocData.3.html
Tcl_SetAssocData(3) - manage associations of string keys and
These procedures allow extensions to associate their own data with a Tcl interpreter. An association consists of a string key, typically the name of the extensi

manpages/newterm.3ncurses.html
newterm(3ncurses) - curses screen initialization and manipul
initscr is normally the first curses routine to call when initializing a program. A few special routines sometimes need to be called before it; these are slk_in

manpages/glGenLists.3gl.html
glGenLists(3gl) - generate a contiguous set of empty display
glGenLists has one argument, range. It returns an integer n such that range contiguous empty display lists, named n, n+1, ..., n+range -1, are created. If range

manpages/XkbSAPtrDfltValue.3.html
XkbSAPtrDfltValue(3) - Returns the valueXXX field of act con
XkbSAPtrDfltValue.3 - Actions associated with the XkbPtrDfltAction structure change the mk_dflt_btn attribute of the MouseKeys control. If the MouseKeys control

manpages/use_env_sp.3ncurses.html
use_env_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/gnutls_x509_crl_deinit.3.html
gnutls_x509_crl_deinit(3) - API function - Linux man page...
This function will deinitialize a CRL structure. REPORTING BUGS Report bugs to &lt;bug-gnutls@gnu.org&gt;. GnuTLS home page: http://www.gnu.org/software/gnutls/ Gener

manpages/unxz.1.html
unxz(1) - Compress or decompress .xz and .lzma files........
xz is a general-purpose data compression tool with command line syntax similar to gzip(1) and bzip2(1). The native file format is the .xz format, but the legacy

manpages/sane-plustek_pp.5.html
sane-plustek_pp(5) - SANE backend for Plustek parallel port
The sane-plustek_pp library implements a SANE (Scanner Access Now Easy) backend that provides access to Plustek ASIC 9600[1/3] and P9800[1/3] based parallel por





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