~ubuntu-branches/ubuntu/lucid/libdmx/lucid

« back to all changes in this revision

Viewing changes to man/DMXGetScreenCount.3

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-07-23 00:27:06 UTC
  • Revision ID: james.westby@ubuntu.com-20050723002706-gsdqrcrjekudn09a
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $XFree86$
 
2
.\"
 
3
.\" Copyright 2004 Red Hat Inc., Durham, North Carolina.
 
4
.\" All Rights Reserved.
 
5
.\"
 
6
.\" Permission is hereby granted, free of charge, to any person obtaining
 
7
.\" a copy of this software and associated documentation files (the
 
8
.\" "Software"), to deal in the Software without restriction, including
 
9
.\" without limitation on the rights to use, copy, modify, merge,
 
10
.\" publish, distribute, sublicense, and/or sell copies of the Software,
 
11
.\" and to permit persons to whom the Software is furnished to do so,
 
12
.\" subject to the following conditions:
 
13
.\"
 
14
.\" he above copyright notice and this permission notice (including the
 
15
.\" next paragraph) shall be included in all copies or substantial
 
16
.\" portions of the Software.
 
17
.\"
 
18
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
19
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
20
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
21
.\" NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
 
22
.\" BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 
23
.\" ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
24
.\" CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 
25
.\" SOFTWARE.
 
26
.TH DMXGetScreenCount 3X __vendorversion__
 
27
.SH NAME
 
28
DMXGetScreenCount \- determine number of back-end screens
 
29
.SH SYNOPSIS
 
30
.B #include <X11/extensions/dmxext.h>
 
31
.sp
 
32
.nf
 
33
.BI "Bool DMXGetScreenCount(Display " *dpy ,
 
34
.BI "                       int " *screen_count );
 
35
.fi
 
36
.SH DESCRIPTION
 
37
.B DMXGetScreenCount()
 
38
returns the number of back-end screens that a
 
39
.BR Xdmx (1)
 
40
server controls.  Since a DMX screen usually fills all of the available
 
41
area on a back-end server, there is usually a one-to-one correspondence
 
42
between DMX screens and backend servers.  However, it is also possible
 
43
for a DMX screen to cover only part of the available area on a back-end
 
44
server, and for more than one DMX screens to occupy different parts of
 
45
the visible area on the same back-end server.
 
46
.PP
 
47
A DMX screen may be managed as a regular X screen in the
 
48
.BR Xdmx (1)
 
49
server or may be joined with other DMX screens using Xinerama.
 
50
.SH "RETURN VALUE"
 
51
.B DMXGetScreenCount()
 
52
sets
 
53
.I screen_count
 
54
and returns
 
55
.B True
 
56
unless there is a protocol error.
 
57
.SH NOTES
 
58
If Xinerama is active, only one logical screen will be available to
 
59
clients of the
 
60
.BR Xdmx (1)
 
61
server.  However, this call will accurately reflect the number of
 
62
composite back-end screens that the
 
63
.BR Xdmx (1)
 
64
server is using.
 
65
.SH "SEE ALSO"
 
66
.BR DMXGetScreenAttribtues "(3X), "
 
67
.BR DMXChangeScreenAttributes "(3X), "
 
68
.BR DMX "(3X), " Xdmx (1)