To date, after searching within Xlib, and more widely within Xenocara, I
have not found any reference that specifies e.g.: NUM_XY_PIXELS_MAX, for
the device's display.
The device's xy pixel numbers, are reported near the tail of a dmesg's
output, on arm64 and amd64 (and possibly others?).
xdpyinfo?
name of display: :0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 12101021
X.Org version: 21.1.21
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
[snip]
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0xa0000c, revert to PointerRoot
number of extensions: 28
BIG-REQUESTS
[snip] Composite
DAMAGE
DOUBLE-BUFFER
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1920x1200 pixels (519x324 millimeters)
resolution: 94x94 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x3f0
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store WHEN MAPPED, save-unders NO
largest cursor: 256x256
[snip]
Geoff Steckel