Aki Sakurai
a49a8a3cf9
xquartz: fix compilation
...
Fixes #1788
Fixes: 21df7a77d ("xquartz: fix length checking with bigreq")
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1777 >
(cherry picked from commit da0de21b72 )
2026-01-25 10:40:00 -08:00
Spiky Caterpillar
d54c1e6c44
No longer leak FDs on VT switch.
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/997 >
(cherry picked from commit 2631cad85d )
2026-01-25 10:40:00 -08:00
Randy Palamar
574e0a005f
os/osinit: fix build when execinfo.h is missing
...
HAVE_BACKTRACE gets set on systems with libunwind however
execinfo.h may be missing (on *BSD or musl for example).
HAVE_EXECINFO_H has been defined by the build system for a long
time but previously not used.
Signed-off-by: Randy Palamar <randy@rnpnr.xyz >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1207 >
(cherry picked from commit 5677de586f )
2026-01-25 10:40:00 -08:00
Enrico Weigelt, metux IT consult
1845111f59
miext: rootless: fix unused variables
...
Compiling w/ -Werror (which our CI does) breaks compile due a buch of
unused variables.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1703 >
(cherry picked from commit 143a6a21e1 )
2026-01-25 10:40:00 -08:00
Enrico Weigelt, metux IT consult
516c178f2a
mi: miexpose: fix FTBS w/ rootless helper
...
FTBS when rootless subsys enabled:
> ../mi/miexpose.c: In function ‘miPaintWindow’:
> ../mi/miexpose.c:411:15: error: unused variable ‘orig_pWin’ [-Werror=unused-variable]
> 411 | WindowPtr orig_pWin = pWin;
> | ^~~~~~~~~
> cc1: all warnings being treated as errors
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1703 >
(cherry picked from commit 6ee163cb94 )
2026-01-25 10:40:00 -08:00
Ivaylo Dimitrov
5a8172f8c5
linux: Fix BUS_PLATFORM detection for non-PCI devices
...
Commit 74b7427c41 (linux: Make platform device probe less fragile)
effectively dropped busid detection for non-PCI devices, for example on
OMAP we have "ID_PATH=platform-omapdrm.0". For such devices busid will not
be set, making platform probes (and server mediated fd support) impossible.
Fix that by extending config_udev_odev_setup_attribs() logic to support
platform devices as well.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1761 >
(cherry picked from commit 579eb31222 )
2026-01-25 10:40:00 -08:00
Doug Johnson
1692877d43
os: backtrace: Fix -Wincompatible-pointer-types compiler error on 32-bit targets
...
```
../os/backtrace.c: In function ‘print_registers’:
../os/backtrace.c:94:52: error: passing argument 3 of ‘_ULarm_get_reg’ from incompatible pointer type [-Wincompatible-pointer-types]
94 | ret = unw_get_reg(&cursor, regs[i].regnum, &val);
| ^~~~
| |
| uint64_t * {aka long long unsigned int *}
```
Switched to libunwind's un_word_t type and PRIxPTR fprintf fmt specification
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1763 >
(cherry picked from commit e0588d2110 )
2026-01-25 10:40:00 -08:00
Enrico Weigelt, metux IT consult
8db56a12f6
Xext: saver: consolidate (non-)xinerama versions
...
We can make it a bit simpler by doing the request header
checking only once.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1591 >
(cherry picked from commit 37dd2897d4 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
a16d79b399
Xext: saver: fix missing swap in QueryVersion reply
...
The `majorVersion` and `minorVersion` fields are CARD16, thus need to be swapped.
OTOH, the lengths field is zero anyways, so no need to swap it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1591 >
(cherry picked from commit fdb8c8ea41 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
47a3262427
meson: drop defining BIGREQS
...
This symbol isn't used for decades, so no need to define it at all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1700 >
(cherry picked from commit 171db3b01b )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
631064399a
xfree86: vgahw: drop obsolete vgaHWSaveScreenWeak()
...
No callers left, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit 4235d2375a )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
6acdd6fe93
xfree86: vgahw: drop obsolete vgaHWDisable()
...
No callers left, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit be9b89ef0f )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
0b9b03310e
xfree86: vgahw: drop obsolete vgaHWSetRegCounts
...
No callers left, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit bb0295b397 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
f030036e67
xfree86: vgahw: make vgaHWSaveColormap() static
...
No external callers anymore, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit 515d19806c )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
4619318120
xfree86: vgahw: make vgaHWSaveMode() static
...
No external callers left, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit 79522220a6 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
4aa3815d2b
xfree86: vgaha: make vgaHWRestoreColormap() static
...
No external callers left, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit f004998b78 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
0bdb813750
xfree86: vgahw: make vgaHWRestoreMode() static
...
No external callers anymore, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit 30380cb207 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
ac274eaf39
xfree86: vgahw: drop obsolete vgaHWBlankScreenWeak()
...
Not used anymore, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit cd2457412f )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
eb21cdaf4e
xfree86: vgahw: drop obsolete vgaHWProtectWeak()
...
Not used anymore, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1724 >
(cherry picked from commit a415e6ed37 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
92e1e0eec5
xfree86: drop obsolete macro INITARGS
...
This macro isn't used anymore for 12 years now, see commit:
5079db78ae
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1722 >
(cherry picked from commit b0452ecff4 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
c5f11163d8
xfree86: common: dont install xf86MatchDrivers.h
...
xf86MatchDrivers.h doesn't export any symbols, thus doesn't need to
be installed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1738 >
(cherry picked from commit cd52a8f8a4 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
51d0126cf0
xfree86: unexport xf86PlatformMatchDriver()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1738 >
(cherry picked from commit 0b123a0413 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
4b1f99e9db
xfree86: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 16ca87703c )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
882aff0a84
Xi: drop now obsolete swap procs
...
Lots of SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 190346663b )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
3735136601
Xext: xv: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit dc9a998b96 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
5a80e4bc3a
Xext: xtest: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 753e6c44ba )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
ff22e7dfa9
Xext: xcmisc: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 0c87f9b1da )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
78a91a837e
Xext: vidmode: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 9a3daf908c )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
617ff59346
Xext: sync: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 3bb15b3e04 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
c5dd2cf48f
Xext: shm: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit c8c42490b7 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
7ed561859e
Xext: shape: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit a7bdfdb3b5 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
15c3b0dfa3
Xext: saver: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 07131dccc5 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
87eaa1020f
Xext: panoramiX: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 515992b046 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
b759344a43
Xext: dpms: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 98dbd817f6 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
802bc43c9d
randr: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 0da419246e )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
c1b1f711a3
dbe: drop now obsolete swap procs
...
Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 851ce5c6a8 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
73e9642028
dix: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Also dropping now obsolete SProcNoOperation().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 4c3ff75772 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
131c8839d6
xwin: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 643f91266e )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
d122c3f7a0
xwayland: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 4cb141307c )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
126c901200
xquartz: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 65224a2f9a )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
5213d2bd24
xfree86: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 7e5c342be1 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
9ba5814fcf
Xi: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 4d053f22f3 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
ee7147a600
Xext: xv: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 54d4dd619c )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
a586aad3d3
Xext: xtest: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 69982abf7b )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
98e27c6e36
Xext: selinux: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 8a5d2a1335 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
39e6106de6
Xext: xres: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 8b57516414 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
8b8766d2b0
Xext: xf86bigfont: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 776efd3cfc )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
4bb159e081
Xext: xcmisc: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 405a227c73 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
9cf90fd24f
Xext: vidmode: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit 65cb5e5575 )
2026-01-25 10:39:59 -08:00
Enrico Weigelt, metux IT consult
9a94514314
Xext: sync: drop swapping request length fields
...
The request struct's length fields aren't used anymore - we have the
client->req_len field instead, which also is bigreq-compatible.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639 >
(cherry picked from commit bf6d132df6 )
2026-01-25 10:39:59 -08:00