1DMXGetScreenCount(3X) DMXGetScreenCount(3X)
2
3
4
6 DMXGetScreenCount - determine number of back-end screens
7
9 #include <X11/extensions/dmxext.h>
10
11 Bool DMXGetScreenCount(Display *dpy,
12 int *screen_count);
13
15 DMXGetScreenCount() returns the number of back-end screens that a
16 Xdmx(1) server controls. Since a DMX screen usually fills all of the
17 available area on a back-end server, there is usually a one-to-one cor‐
18 respondence between DMX screens and backend servers. However, it is
19 also possible for a DMX screen to cover only part of the available area
20 on a back-end server, and for more than one DMX screens to occupy dif‐
21 ferent parts of the visible area on the same back-end server.
22
23 A DMX screen may be managed as a regular X screen in the Xdmx(1) server
24 or may be joined with other DMX screens using Xinerama.
25
27 DMXGetScreenCount() sets screen_count and returns True unless there is
28 a protocol error.
29
31 If Xinerama is active, only one logical screen will be available to
32 clients of the Xdmx(1) server. However, this call will accurately
33 reflect the number of composite back-end screens that the Xdmx(1)
34 server is using.
35
37 DMXGetScreenAttribtues(3X), DMXChangeScreenAttributes(3X), DMX(3X),
38 Xdmx(1)
39
40
41
42X Version 11 libdmx 1.0.2 DMXGetScreenCount(3X)