logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DMXGetScreenCount - determine number of back-end screens

Description

DMXGetScreenCount() returns the number of back-end screens that a Xdmx(1) server controls. Since a DMX screen usually fills all of the available area on a back-end server, there is usually a one-to-one correspondence between DMX screens and backend servers. However, it is also possible for a DMX screen to cover only part of the available area on a back-end server, and for more than one DMX screens to occupy different parts of the visible area on the same back-end server. A DMX screen may be managed as a regular X screen in the Xdmx(1) server or may be joined with other DMX screens using Xinerama.

Name

DMXGetScreenCount - determine number of back-end screens

Notes

If Xinerama is active, only one logical screen will be available to clients of the Xdmx(1) server. However, this call will accurately reflect the number of composite back-end screens that the Xdmx(1) server is using.

Return Value

DMXGetScreenCount() sets screen_count and returns True unless there is a protocol error.

See Also

DMXGetScreenAttributes(3), DMXChangeScreensAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.4 DMXGetScreenCount(3)

Synopsis

#include<X11/extensions/dmxext.h>BoolDMXGetScreenCount(Display*dpy,int*screen_count);

See Also