DMXDesktopAttributes(3)
π DMXDesktopAttributes(3) π
okay bestie, welcome to the Library Functions Manual corner of the group chat β¨ this one's all about DMXGetDesktopAttributes and it's genuinely so chill, like a lil vibe check for your whole desktop π¦
πΈ NAME πΈ
DMXGetDesktopAttributes β determine global bounding box
β¨ SYNOPSIS β¨
#include <X11/extensions/dmxext.h>
Bool DMXGetDesktopAttributes(Display *dpy,
DMXDesktopAttributes *attr);
π DESCRIPTION π
so DMXGetDesktopAttributes() hands you back the tea about your desktop, and it drops it all into a DMXDesktopAttributes, which looks exactly like this:
typedef struct {
unsigned int width;
unsigned int height;
int shiftX;
int shiftY;
} DMXDesktopAttributes;
the size of the global bounding box lives in width and height, no cap πβ¨ and the shiftX and shiftY values? bestie they will always be 0. always. every single time. iconic behaviour honestly π
the global bounding box gets computed whether or not Xinerama is active, but likeβ¦ it's only actually useful when you're using Xinerama, so keep that in mind π
also important: the global bounding box that Xdmx(1) uses may be larger than the Xinerama screen size, because of info in the configuration file π so don't be surprised if it's giving extra.
π₯ RETURN VALUE π₯
DMXGetDesktopAttributes() returns True unless there's a protocol error π that's it, that's the whole vibe check.
π«Ά SEE ALSO π«Ά
X Version 11 β¨ libdmx 1.1.5 β that's the source and version, bestie, and this page is DMXDesktopAttributes(3) π mwah, go read the other ones, ily, periodt πππ¦
π¦ where this page comes from
- epel 10: libdmx-devel 1.1.5-5.el10_1 Β· MIT
- fedora 43: libdmx-devel 1.1.5-6.fc43 Β· MIT
- fedora 43: libdmx-devel 1.1.5-6.fc43 Β· MIT
- fedora 44: libdmx-devel 1.1.5-7.fc44 Β· MIT
- fedora 44: libdmx-devel 1.1.5-7.fc44 Β· MIT
- nixos 26.05: libdmx 1.1.5
- nixpkgs unstable: libdmx 1.1.5
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- opensuse-leap 16.0: libdmx-devel 1.1.5-160000.3.2 Β· MIT
- Copyright 2004 Red Hat Inc., Durham, North Carolina
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms