Enrico Weigelt, metux IT consult
fb1a2d7ec8
dix: add callback for post root window init
...
Allow extensions to catch in right after a screen's root window has
been finally initialized
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 18:51:25 +02:00
Enrico Weigelt, metux IT consult
dd26af612c
xfree86: add per major-version driver/module subdirectories
...
Modules are now placed into a sub-directory by major Xserver release,
so we have less hassle with trying to load drivers w/ incompatible ABI.
The legacy directories are still searched (after the versioned ones)
for backwards compat with badly maintained proprietary drivers (Nvidia).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 18:41:48 +02:00
Enrico Weigelt, metux IT consult
762d582ca2
Revert "( !1991 ) xfree86: xf86Option: unexport xf86MarkOptionUsedByName()"
...
Reverting commit 63c8a689c3 on request by Nvidia
(proprietary driver)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 17:15:54 +02:00
Enrico Weigelt, metux IT consult
7be5e3cb03
randr: re-export RRCrtcGetScanoutSize() for Nvidia legacy
...
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 17:15:46 +02:00
Enrico Weigelt, metux IT consult
9862554205
randr: re-export RROutputSetNonDesktop() for Nvidia legacy
...
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 17:15:39 +02:00
Enrico Weigelt, metux IT consult
260ab7e399
randr: re-export some resource type fields for NVidia legacy
...
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs those fields for this.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 17:15:21 +02:00
Enrico Weigelt, metux IT consult
1a259d126f
xfree86: compat: re-export MarkClientException() for horryibly maintained Nvidia
...
NVidia yet again doing crazy shit in their proprietary drivers:
This is an DIX-*internal* function for triggering client teardown when
connection broke or somehow lack of resources to accept new connections.
Video drivers have no business with that whatsoever - having them messing
with client client connections is just insane.
But still trying to be kind with Nvidia victims, thus adding a little wrapper
function under the old name. It spills out a log warning calling users to file
bug reports their driver vendor.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
cf571efe3f
dix: rename MarkClientException() to dixMarkClientException()
...
DIX functions should have proper naming.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
348c2fdea0
xfree86: increase ABI versions
...
Since *a lot* has changed since last Xserver release, need to increase
the ABI version.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
4847695f6a
dix: fix guards in dix/window_priv.h
...
Renaming the guard define to _XSERVER_DIX_WINDOW_PRIV_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
87c4fdff7f
README.md: add upgrade notice
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
668ee9b2b4
xfree86: compat: re-add xf86Msg() for badly maintained drivers.
...
NVidia yet again lagging behind a year with trivial cleanups,
even though they're informed about this function being deprecated
and dropped.
It spills out a log warning calling users to file bug reports their
driver vendor.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult
c4da97eb69
Revert "( !1987 ) glamor: unexport GLAMOR_CREATE_PIXMAP_* defines"
...
This reverts commit 85267d38ac .
These are needed by the RDP module (www.xrdp.org).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:35 +02:00
Enrico Weigelt, metux IT consult
1e4faee4e5
xfree86: fix possible buffer overflow in xf86PrintBanner()
...
There's chance of buffer overflow happending due lack of zero-termination
of printed string. Making sure the buffer is always propertly terminated.
See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1821
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 19:26:12 +02:00
Enrico Weigelt, metux IT consult
d10204372b
xfree86: xf86Priv.h: unexport xf86HasTTYs()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
25744d6646
xfree86: xf86Priv.h: unexport xf86CallDriverProbe()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
d421a618be
xfree86: xf86Priv.h: unexport xf86LoadModules()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
266792630b
xfree86: xf86Priv.h: unexport xf86CloseLog()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
fd654c2967
xfree86: xf86Priv.h: unexport xf86LogInit()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
29a5ddd295
xfree86: xf86Priv.h: unexport xf86PMConfirmEventToOs field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult
ddb8441012
xfree86: xf86Priv.h: unexport xf86PMGetEventFromOs field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
b5878c8f22
xfree86: xf86Priv.h: unexport xf86HandlePMEvents()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
6e2d8285cb
xfree86: xf86Priv.h: unexport xf86Wakeup()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
47a6466355
xfree86: xf86Priv.h: unexport DoShowOptions()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
c9527a0732
xfree86: xf86Priv.h: unexport DoConfigure()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
377761bebd
xfree86: xf86Priv.h: unexport xf86PathIsSafe()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
469ba47fa0
xfree86: xf86Priv.h: unexport xf86RemoveDevFromEntity()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
9759c400d4
xfree86: xf86Priv.h: unexport xf86ClearEntityListForScreen()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
191123be66
xfree86: xf86Priv.h: unexport xf86PostProbe()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
e13e3f53fb
xfree86: xf86Priv.h: unexport xf86BusConfig()
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
1e6dd800e7
xfree86: xf86Priv.h: unexport xf86DefaultModes field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
0fbfe338a1
xfree86: xf86Priv.h: drop DEFAULT_VERBOSE and DEFAULT_LOG_VERBOSE defines
...
Not used by any external drivers, so we can use their values directly.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
25b26d3a5d
xfree86: xf86Priv.h: unexport xf86LogVerbose field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
d0b446e2af
xfree86: xf86Priv.h: unexport xf86Verbose field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
a6f335d337
xfree86: xf86Priv.h: unexport xf86VisualNames field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
396e52a324
xfree86: xf86Priv.h: unexport xf86Initialising field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
ee5f9aa670
xfree86: xf86Priv.h: unexport xf86Resetting field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
329cd977cf
xfree86: xf86Priv.h: unexport xf86NumDrivers field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
9d911f3e99
xfree86: xf86Priv.h: xf86LogFileWasOpened fields
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
1d86f70389
xfree86: xf86Priv.h: xf86LogFileFrom field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
8c724fe61d
xfree86: xf86Priv.h: xf86LogFile field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
8d8da27198
xfree86: xf86Priv.h: unexport xf86ModPathFrom
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
a13d93c392
xfree86: xf86Priv.h: unexport xf86ModulePath field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
16f2e214b5
xfree86: xf86Priv.h: unexport xf86Gamma field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
a53a50bc6e
xfree86: xf86Priv.h: unexport xf86FlipPixels()
...
Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
0a69533a96
xfree86: xf86Priv.h: unexport xf86Weight field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
bc299ff36e
xfree86: xf86Priv.h: unexport xf86KeyboardName field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
613822e2ff
xfree86: xf86Priv.h: unexport xf86PointerName field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
b982cdc5ff
xfree86: xf86Priv.h: unexport xf86ScreenName field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult
1aa90a394c
xfree86: xf86Priv.h: unexport xf86LayoutName field
...
Not used by any external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00