Commit graph

23,867 commits

Author SHA1 Message Date
Olivier Fourdan
7e7eb4b3cb test/pyxtest: create temp files with mkstemp
Avoid unmanaged NamedTemporaryFile opens (ruff SIM115).

Assisted-by: AI
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2265>
2026-10-01 13:08:32 +02:00
Jeremy Huddleston Sequoia
73742ea5f4 rootless: Fix two region leaks
RootlessEnsureFrame returns without releasing a shaped window's region when the implementation refuses to create the
frame, and RootlessMiValidateTree never releases the exposed region it hands to RootlessComputeClips -- upstream
miValidateTree does.

Both are longstanding.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-10-01 12:59:30 +02:00
Alan Coopersmith
6b65dcb9ce exa: silence -Wold-style-declaration warning from gcc 16
exa/exa_accel.c:239:1: warning: ‘inline’ is not at beginning of declaration
 [-Wold-style-declaration]
  239 | static Bool inline
      | ^~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2272>
2026-10-01 11:29:50 +02:00
Peter Hutterer
02b7b7a9a5 test/pyxtest: move X11 error codes from xclient.py to proto/x11.py
The X11 core protocol error code constants (BadRequest, BadValue,
BadWindow, etc.) belong with the other protocol definitions in
proto/x11.py rather than in the client connection module.

Move the canonical definitions to proto/x11.py and re-export them from
xclient.py for backward compatibility. Update all test files to import
from proto.x11 instead.

Assisted-by: Claude:claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2263>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-10-01 11:28:07 +02:00
Enrico Weigelt, metux IT consult
42d18f08ab Xext: panoramiX: declare where needed in PanoramiXCreateConnectionBlock()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-10-01 11:26:55 +02:00
Alan Coopersmith
2bbea240f3 Handle -Wimplicit-fallthrough warnings from gcc 16.1
Gets rid of 36 -Wimplicit-fallthrough warnings

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2272>
2026-09-30 21:03:21 +02:00
Alan Coopersmith
a60048ef94 xkb: Fix -Wcalloc-transposed-args warning in _XkbCopyGeom()
Reported by gcc 16.1:
xkb/xkbUtils.c:1440:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in
the earlier argument and not in the later argument [-Wcalloc-transposed-args]
 1440 |             dst->geom = calloc(sizeof(XkbGeometryRec), 1);
      |                                       ^~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2272>
2026-09-30 20:53:12 +02:00
Jeremy Huddleston Sequoia
b4b8617fe6 darwin: Set thread priorities to user interactive or user initiated as appropriate
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-09-30 19:24:05 +02:00
Jeremy Huddleston Sequoia
3d20b6d253 fb: Don't widen the planemask over padding bits when ROOTLESS_SAFEALPHA is set
Wide LineDoubleDash lines drew black on screen under XQuartz while the server's own XGetImage readback showed the
correct pixels, because at depth 24 that readback ignores alpha. Opaque text and dashed arcs take the same path.

fbValidateGC widens a planemask that covers the drawable's depth to cover its full bits per pixel, so the blit and
fill paths can take their all-ones shortcuts. On a rootless server that also writes the alpha channel of the window's
premultiplied surface, which CoreGraphics then composites as black. Rootless keeps that alpha opaque by clearing the
bits from the planemask, but only its own ValidateGC does so, and mi revalidates the GC in the middle of a drawing
operation to swap the foreground for the background pixel. By then the damage layer has unwrapped the rootless funcs
down to fb, so the reassertion never happens and the rest of the operation lands with a zero alpha channel.

Fixes: https://github.com/XQuartz/XQuartz/issues/230

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-09-30 19:06:39 +02:00
Enrico Weigelt, metux IT consult
bc968311fb miext: rootless: fix broken leftover fragment RootlessUpdateScreenPixmap
The xorg backport 924020906e added a few broken
lines that must not be there and cause FTBS as well as a double-free bug.

Fixes: 924020906e
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-30 16:56:05 +02:00
Alan Coopersmith
dd062c72f4 test: silence -Wanalyzer-null-argument warnings in strndup tests
Catch malloc failures before calling strcmp() with them.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2272>
2026-09-30 11:51:09 +02:00
Jeremy Huddleston Sequoia
05b9873513 xquartz: Stop drawing before handing a frame to xp_frame_draw()
xp_frame_draw() renders the window decorations into the frame's backing store from Xplugin's async queue, but
xprFrameDraw() was the only AppleWM handler that did not stop drawing first.  When quartz-wm sends AppleWMFrameDraw
while the server still holds the frame locked, Xplugin re-enters the backing lock on an already-locked window and the
backing store is remapped out from under one of the two writers, surfacing as a SIGBUS writing into a read-only CG
backing store mapping.

This removes the self-inflicted overlap and brings the handler in line with its siblings.  It narrows the race rather
than closing it: the ordering problem between the async frame draw and the backing lock is tracked separately.

Fixes: https://github.com/XQuartz/XQuartz/issues/352
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-09-30 11:43:00 +02:00
Jeremy Huddleston Sequoia
924020906e rootless: Keep the screen pixmap header consistent with its allocation
RootlessUpdateScreenPixmap freed the old backing store before attempting the replacement allocation and returned early
on failure, leaving the screen pixmap's devPrivate.ptr pointing at freed memory.

The published geometry was also only refreshed when the buffer grew, so a screen that shrinks kept advertising its
previous, larger size.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-09-30 11:34:13 +02:00
Jeremy Huddleston Sequoia
ee9cb28c37 xquartz: Replace assert() around side-effecting calls with unconditional error handling
darwin.c and bundle_trampoline.c wrapped calls that allocate memory, add input devices, or spawn a process in
assert(), so building with NDEBUG would silently skip the call and leave the guarded variable uninitialized or
unset while still proceeding as if it had succeeded.

darwin.c now calls FatalError() on failure. bundle_trampoline runs before the server attaches to a terminal or
console, so stderr is not visible there; it now logs via os_log_error() and calls abort().

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2026-09-30 11:31:55 +02:00
Enrico Weigelt, metux IT consult
fb98fb0133 xfree86: move fontserverFrom out of XF86InfoRec to avoid ABI break
The field fontserverFrom was added to XF86InfoRec by previous commit
(taken from Xorg PR #2263), but XF86InfoRec (via xf86Info) is _X_EXPORT'ed
and its layout is part of the NVIDIA driver ABI. Adding a field in the
middle shifts all subsequent fields (glxVisuals, glxVisualsFrom, dri2,
dri3, glamor, etc.), breaking the NVIDIA blob ABI.

Fixing this by moving the field of the struct again into a separate
global field, which is not _X_EXPORT'ed.

See: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2263

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 18:24:47 +02:00
Peter Hutterer
7770acd009 Disable font server connections by default
At this point, allowing X Font Server connections just introduces us to
possible security issues since the code effectively trusts any font
server and few checks are in place.

Since font servers also haven't been used for ages, let's disable
them by default. Use-cases that require them will have to pass
+fontserverconnections on the commandline and/or set the corresponding
ServerFlags option.

The tests are a bit hacky: Debian builds libXfont2 with --disable-fc so
we need to cater for the case where the X server enables fontserver support
but libXfont then blocks it and we still need to treat this as success.

Assisted-by: Claude:claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2263>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 18:24:47 +02:00
Enrico Weigelt, metux IT consult
21f82727a4 Xext: panoramiX: let PanoramiXCreateConnectionBlock() return rpcbuf
Let PanoramiXCreateConnectionBlock() only return x_rpcbuf_t, not touching
global structures anymore - it's caller will that now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 16:11:03 +02:00
Enrico Weigelt, metux IT consult
d8a51a5b0c xvfb: enforce CRTC size limit after all arguments are processed
The parse-time check added with -crtcs N@WxH compares against
currentScreen->width/height, which is still the value before -screen has run
when -crtcs appears first on the command line:

    Xvfb -crtcs 1@900x700 -screen 0 800x600x24   -> accepted, CRTC > screen
    Xvfb -screen 0 800x600x24 -crtcs 1@900x700   -> rejected

The documented invariant "CRTC size cannot exceed screen size" therefore only
held for one argument order. Enforce it again in InitOutput, after every
argument has been processed and each screen's final size and CRTC array are
known, so the constraint holds regardless of order.

Verified: the reversed order now fails with
    CRTC 0 size 900x700 exceeds screen 0's size 800x600
the ordinary order still fails early at parse time, and -crtcs 2@800x600 on a
1280x1024 screen still yields two CRTCs with the first at 800x600.

Signed-off-by: Enterprise <enterprise@starfleet>
2026-09-29 13:08:23 +02:00
Andy Myers
25b933259c xvfb: Extend -crtcs to accept optional size (N@WxH)
The -crtcs command line switch now understands an optional geometry
specification, N@WxH. When present, W×H is applied to each CRTC created for
the screen, allowing them to be smaller than the underlying screen.

If no size is given, the original behavior is preserved: each CRTC,
and the initial RandR mode, match the screen dimensions.

Help output and the man page have been updated accordingly.

Signed-off-by: Andy Myers <andy.myers@zetier.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2043>
2026-09-29 13:08:23 +02:00
Enrico Weigelt, metux IT consult
e88c60d6ee dix: inline CreateConnectionBlock() into dixInitConnectionBlock()
There's only one caller left, so it doesn't need to be a separate
function anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 12:33:12 +02:00
Enrico Weigelt, metux IT consult
0003a7180c xfixes: implement 6.1: forced server shutdown on client disconnect
XFixes 6.1 adds a new feature where individual client can demand immediate
server shutdown when it disconnects: the client can set a special flag via
X_XFixesGetClientDisconnectMode request - when it's set and that client
terminates, the server stops event delivery and shuts down immediately.

It's is mainly a security feature for screen lockers: without it, crashing
screen locker leading to the whole session becoming unlocked. This is now
prevented by immediately killing the xserver, so no unauthorized access
to the session is possible anymore.

Another practical use case is when some critical applications must be present
(eg. in certain control centers), and a crash of those should trigger to
immediate fault state or session restart.

For now, the feature can only be enabled explicitly in the xfree86 DDX,
via the AllowForceTerminate boolean config file option. Not enabled at all
on other DDX'es yet.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 12:23:40 +02:00
Enrico Weigelt, metux IT consult
1792233bd8 xext: panoramix: simplify PanoramiXConsolidate() calls
1. move the panoramix enabled check into PanoramiXConsolidate()
2. declare a static inline dummy if XINERAMA is not defined,
   so callers don't need extra ifdefs anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 19:50:33 +02:00
Enrico Weigelt, metux IT consult
6dc28b50aa xext: panoramix: directly use PanoramiXPixWidth / PanoramiXPixHeight
Instead of extracting them the connection info block, use the original
values (those are written into the connection block at consolidation)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 19:44:54 +02:00
Enrico Weigelt, metux IT consult
4c37cf1437 dix: connsetup: remove screenDataOffset param
now that we have dixConnBlockScreenStart(), we don't need the
reference parameter of dixConnBlockScreenStart() anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 19:19:32 +02:00
Enrico Weigelt, metux IT consult
5421865d7a modesetting: guard drmGetVersion() against NULL in hw cursor probe
probe_if_is_running_single_size_hwcursor_gpu() dereferences the return value
of drmGetVersion() unconditionally:

    drmVersionPtr version = drmGetVersion(drmmode->fd);
    if (strstr(version->name, "amdgpu")) {

drmGetVersion() returns NULL on failure, so a failure there crashes the driver
during PreInit(). The same driver checks for this in six other places
(ms_is_running_virtual_gpu(), the mgag200 probe, the cursor interleave
helper), so this is a missing check rather than a deliberate one.

Bail out early with fixed_size_cursor left at its initial false, which lets
the regular cursor size probing in drmmode_probe_cursor_size() run exactly as
it does for every other non-amdgpu device. This also keeps drmFreeVersion()
from ever being handed a NULL pointer on the early-return path.

Verified with an isolated harness that stubs drmGetVersion()/drmGetCap():
the code as merged in 46c411e49b dies with SIGSEGV (exit 139) when
drmGetVersion() returns NULL, while the patched version returns cleanly with
fixed_size_cursor == 0. The normal amdgpu case (64x64 cursor) still yields
fixed_size_cursor == 1. driver.c compiles clean under meson/ninja.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 17:29:40 +02:00
Enrico Weigelt, metux IT consult
482f7b326d glamor: fix memleak in error path of glamor_link_glsl_prog()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 17:09:34 +02:00
Enrico Weigelt, metux IT consult
ab7b2b44f3 dix: connsetup: add helper dixConnBlockScreenStart()
adding a helper for calculating the offset of the first xWindowRoot
structure within the connection info block. this way getting rid
of the global connBlockScreenStart field.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-28 16:13:08 +02:00
Tautvis
46c411e49b modesetting: use single sized hw cursor buffer for older amdgpu gpus
Some amdgpu hardware (older ones, such as AMD Polaris 11 ) can only
render 64x64, 64x128 and 128x128 cursor. It doens't report any errors to
user space and only visual glitches on monitor visible.

This patch checks If drm driver reports any cursor side 64 or 128 - assume
hardware can only render 64x64 or 128x128 hw cursor planes

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/work_items/1922
Fixes: https://github.com/X11Libre/xserver/issues/1816

Signed-off-by: Tautvis <gtautvis@gmail.com>
2026-09-28 15:11:26 +02:00
Enrico Weigelt, metux IT consult
322305bfe6 Xext: panoramix: inline CreateConnectionBlock()
inline CreateConnectionBlock() into PanoramiXCreateConnectionBlock(),
in order to make future refactoring a bit easier. Further steps will
refactor the function to just return the buffer instead of setting
global variables.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 22:42:03 +02:00
Enrico Weigelt, metux IT consult
c933897bc9 dix: CreateConnectionBlock(): record number of roots
When Xinerama is enabled, the number of user-visible roots (screens)
isn't equal to number of actual server screens anymore. Instead of
having #ifdef's in several places, let the connection block renderer
record the number of roots actually processed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 21:27:00 +02:00
Enrico Weigelt, metux IT consult
0992676c3e dix: dispatch: make temporary copy of connection info block
We have to patch up the connection info block with per-client specific
data. Instead of patching up a global buffer, do this in a safe copy.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 20:27:43 +02:00
Enrico Weigelt, metux IT consult
2c000638f2 Xext: randr: call dixInitConnectionBlock() on screen size change
When screen size change occours, we were patching individual fields
in the connection info block directly. That's an ugly violation of
layers and causing direct dependency on DIX internal data structures.

Since those events are really rare, better trigger fresh creation
of the connection info block as a whole, instead of peeking into
the details our own.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 19:27:57 +02:00
Enrico Weigelt, metux IT consult
c7e58d2f85 dix: move over CreateConnectionBlock() to connsetup.c
Consolidating connection block handling in that source file.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 18:42:41 +02:00
Enrico Weigelt, metux IT consult
acaf7612f9 dix: dispatch: drop ancient unused MATCH_CLIENT_ENDIAN code path
These haven't been active for decades now, so no need to keep them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 18:41:54 +02:00
Enrico Weigelt, metux IT consult
97b75e833b dix: factor out building connection info block
Factor out the actual rendering to a separate function, which now just
returns x_rpcbuf_t, not directly updating global ConnectionInfo field
(that's left to the caller).

In later iterations, we then could easily generate a new connection info
block per client, eg. masking the available screens based on separate
policies (NEXUS screen remapping, Xnamespace permissions, etc).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 17:11:27 +02:00
Enrico Weigelt, metux IT consult
ac3f875ea9 xext: randr: declare variables where used in RREditConnectionInfo()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 17:09:15 +02:00
Enrico Weigelt, metux IT consult
fe263d966c dix: use x_rpcbuf_t for rendering the connection info block
Simplify the code by using x_rpcbuf_t, so we don't need prio block size
calculation and care for allocation / reallocation. rpcbuf is don't it
all for us and giving us the final block size.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 15:48:17 +02:00
Enrico Weigelt, metux IT consult
74a5b770e8 dix: CreateConnectionBlock() scope variables and simplify struct init
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-25 14:28:41 +02:00
stefan11111
246456a4cd glamor/glamor_egl: Don't texture a gbm bo if we can't render to it
Fail here so that the DDX can do something else

Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-09-25 11:25:46 +02:00
Enrico Weigelt, metux IT consult
eb4a798af3 dix: refactor sending out the connection setup prefix
Drop the global connSetupPrefix variable and instead create that
tiny struct on the fly (we need to copy it for byteswapping anyways)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 19:59:25 +02:00
Enrico Weigelt, metux IT consult
47aae35892 xinerama: refactor post-init callback
a) replace custom callback machinery by standard CallbackListPtr

Dropping lots of unnecessarily duplicated code.

b) call the callbacks from PanoramiXConsolidate() instead of
   PanoramiXCreateConnectionBlock()

Still called after Xinerama has been finished it's own setup (so Xv can do
it's xinerama-specific setups) and before the first client can connect.
But now we can re-call PanoramiXCreateConnectionBlock() any time.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 19:35:20 +02:00
Enrico Weigelt, metux IT consult
bf51b51b09 dix: move connection block creation logic into own function
Move it to dixInitConnectionBlock() in dix/connsetup.c

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 17:53:35 +02:00
Enrico Weigelt, metux IT consult
4af0cebbcc Xv: protect XineramifyXv() from duplicate initialization
For now, the function is called only once, but upcoming changes
(NEXUS preparations) could change this, no we need some protection.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 16:54:37 +02:00
Enrico Weigelt, metux IT consult
c0255c5967 dix: store the ConnectionInfo block size in separate variable
Store it it's own variable as authorative source, so we don't
need to keep it in connSetupPrefix anymore - and get rid of that
in future steps.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 16:54:32 +02:00
Enrico Weigelt, metux IT consult
26b2572a45 dix: factor out sending connection abort to own function
Make the code path a bit cleaner and tightly more efficient
(by doing the byteswap directly)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 15:19:10 +02:00
Enrico Weigelt, metux IT consult
70057fdf6e dix: DIX_FOR_N_SCREENS — make self-contained (ternary instead of MIN)
Remove dependency on MIN() from os/mathx_priv.h by replacing the MIN()
call with an explicit bounds check using ternary-style logic.

Changes:
- Change walkStop from int to unsigned (consistency with walkScreenIdx)
- Replace MIN(start + num, screenInfo.numScreens) with explicit check
- Update doc comment to accurately describe 'start + num limited by
  screenInfo.numScreens' semantics instead of 'all screens'
- Fix typo 'poiner' -> 'pointer' in doc comment

This keeps the macro signature and behavior unchanged (#3725 uses it),
while making it self-contained without requiring os/mathx_priv.h.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 14:23:13 +02:00
Enrico Weigelt, metux IT consult
07388b95da dix: dispatch: use literal initializer for NewClientInfoRec
make it shorter and easier to the compiler to optimize.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 13:36:14 +02:00
Enrico Weigelt, metux IT consult
f194ccd8c1 dix: pass number of screens to CreateConnectionBlock
Panoramix needs a special handling so that we're only sending one
screen (and numRoots becomes = 1). Instead of tweaking global
variables back and forth, just pass in the desired value.

When 0 is passed, using screenInfo.numScreens instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 12:49:05 +02:00
Enrico Weigelt, metux IT consult
680521b525 dix: new macro DIX_FOR_N_SCREENS()
Special form of DIX_FOR_EACH_SCREEN() which is starting at some
given offset and walking only given number from here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 11:56:15 +02:00
Enrico Weigelt, metux IT consult
7fb91cf8c0 dix: SendConnSetup: clean up numscreens handling
Usually, we would use screenInfo.numScreens, but Xinerama has a special
handling that's taking the number from the already compiled ConnectionInfo's
numRoots field.

Actually, we don't need any special handling here, just take the numroots
field, because in non-xinerama case, it's equal to screenInfo.numScreens.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-24 10:28:02 +02:00