Enrico Weigelt, metux IT consult
cfaf02414f
[PR #1063 ] dix: use xorg_list saveSet list
...
PR: https://github.com/X11Libre/xserver/pull/1063
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
d4da946b79
[PR #1358 ] dix: unexport defaultFontPath
...
PR: https://github.com/X11Libre/xserver/pull/1358
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
384059ee1f
[PR #1383 ] dix: unexport several extension related functions
...
PR: https://github.com/X11Libre/xserver/pull/1383
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
2593d76c62
[PR #1387 ] dix: unexport DontPropagateMask and wDontPropagateMask() macro
...
PR: https://github.com/X11Libre/xserver/pull/1387
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
b96d0ddb00
[PR #1388 ] dix: unexport lastResourceType and TypeMask
...
PR: https://github.com/X11Libre/xserver/pull/1388
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
2d103fe2c3
[PR #1389 ] dix: unexport internal region helper functions
...
PR: https://github.com/X11Libre/xserver/pull/1389
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
0421794a30
[PR #1467 ] dix: unexport defaultColorVisualClass
...
PR: https://github.com/X11Libre/xserver/pull/1467
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
f99103a1aa
[PR #1487 ] dix: unexport functions from pixmap.h
...
PR: https://github.com/X11Libre/xserver/pull/1487
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
6546c5862c
[PR #1490 ] treewide: replace min/max macros by non-exported MIN/MAX and deprecate them
...
PR: https://github.com/X11Libre/xserver/pull/1490
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
59206e366a
[PR #1514 ] dix: inline SProcLookupColor()
...
PR: https://github.com/X11Libre/xserver/pull/1514
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
d7420911d0
[PR #1515 ] dix: inline SProcGetProperty()
...
PR: https://github.com/X11Libre/xserver/pull/1515
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
ae5121043b
[PR #1516 ] dix: inline SProcGrabPointer()
...
PR: https://github.com/X11Libre/xserver/pull/1516
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
4d5bdb41cf
[PR #1517 ] dix: inline SProcRotateProperties()
...
PR: https://github.com/X11Libre/xserver/pull/1517
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
11a3121bfb
[PR #1518 ] dix: inline ProcSetScreenSaver()
...
PR: https://github.com/X11Libre/xserver/pull/1518
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
970edb017c
[PR #1519 ] dix: inline ProcQueryExtension()
...
PR: https://github.com/X11Libre/xserver/pull/1519
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
1ded81981e
[PR #1520 ] dix: inline SProcCreateGlyphCursor()
...
PR: https://github.com/X11Libre/xserver/pull/1520
2025-12-03 10:55:24 +01:00
Oleh Nykyforchyn
f4115e69eb
dix: initialize all screens before proceeding to gc's, root windows etc
...
Current code walks along all screens and initializes screen resources,
then gc's, stipples, root windows for each of them, hence after
the first screen registering new private keys is no more possible.
This crashes modesetting driver if it is not initialized before others.
This patch makes screen resources for all screen initialize first, hence
all necessary private keys (including of the type PRIVATE_WINDOW) are
initialized before root windows are created.
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com >
2025-12-03 09:24:33 +01:00
Marc-Alexandre Espiaut
e1b3bbafa8
dix: remove dixLookupBuiltinColor() unused screen argument
...
Signed-off-by: Marc-Alexandre Espiaut <76531574+malespiaut@users.noreply.github.com >
2025-11-28 18:43:40 +01:00
Enrico Weigelt, metux IT consult
e14d352661
dix: move GCAllBits define into private header
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 20:05:59 +01:00
Enrico Weigelt, metux IT consult
33729b1361
include: windowstr.h: unexport w*() macros
...
These aren't used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:54:42 +01:00
Enrico Weigelt, metux IT consult
ff8d26df21
include: windowstr.h: unexport SameBackground() and SamBorder() macros
...
Not used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:49:14 +01:00
Enrico Weigelt, metux IT consult
9b8d7d1eb9
treewide: don't include <region.h> anymore
...
Nothing in there that we need, include <regionstr.h> instead.
But keeping the file in place, until all external consumer have
been migrated.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:27:27 +01:00
Oleh Nykyforchyn
0230c6e074
dix: reexport ConnectionInfo for NVidia 390
...
This patch exports ConnectionInfo in server_priv.h and references
it in globals.c to force exporting.
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com >
2025-11-27 17:06:36 +01:00
Enrico Weigelt, metux IT consult
85fae9bffb
dix: inline SProcAllocColor()
...
Now that we have untwisted Xinerama side, it's trivial to inline
the few lines for byte-swapping into the actual handlers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 13:46:37 +01:00
Alan Coopersmith
e352fdecfe
dix: handle allocation failure in DeviceFocusEvent()
...
Reported in https://gitlab.freedesktop.org/xorg/xserver/-/issues/1817 :
xwayland-24.1.6/redhat-linux-build/../dix/enterleave.c:786:5:
warning[-Wanalyzer-possible-null-dereference]:
dereference of possibly-NULL ‘xi2event’
Fixes: 3f37923a72 ("Xi: send XI2 focus events." in Xorg 1.10.0)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2078 >
2025-11-27 13:36:49 +01:00
Enrico Weigelt, metux IT consult
92a015504e
dix: make BITMAP_SCANLINE_UNIT private
...
Not used by any external drivers, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 12:05:55 +01:00
Enrico Weigelt, metux IT consult
5532917d76
os: move AllowByteSwappedClients setting into DIX
...
Adding new source and header that's going to host all DIX
settings (set via cmdline or xf86 config file) in the future.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 10:44:23 +01:00
Enrico Weigelt, metux IT consult
8039c2cbf1
dix: unexport SwapLongs()
...
Not used by any external drivers, so no need to keep it in public SDK.
Since it's used by internal modules, still needs to be _X_EXPORT'ed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-25 18:26:02 +01:00
Mike Gelfand
f40bfb5ca9
dix: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Enrico Weigelt, metux IT consult
d66dea68af
dix: dixfonts: drop unused GetFontPath()
...
Not used anywhere, neither in Xserver nor in drivers, so no need
to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:26:32 +01:00
Enrico Weigelt, metux IT consult
95499a9525
dix: unexport enableIndirectGLX
...
Still needs to be _X_EXPORT'ed for internal modules, but
not supposed to be visible to external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:25:41 +01:00
Enrico Weigelt, metux IT consult
6a1bdcedd3
dix: unexport DeleteProperty()
...
Not used by any external driver, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:35 +01:00
Enrico Weigelt, metux IT consult
40acb2d83e
dix: unexport PrintPassiveGrabs() and PrintWindowTree()
...
These are only for internal debug output, not needed for drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:18 +01:00
Enrico Weigelt, metux IT consult
8059c260c2
dix: unexport XIUnregisterPropertyHandler() and XIDeleteAllDeviceProperties()
...
Not used by any external drivers, so no need to keep the exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:21:37 +01:00
Enrico Weigelt, metux IT consult
416f69eb88
include: misc.h: unexport lowbit() macro
...
Not used by any drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:20:07 +01:00
Enrico Weigelt, metux IT consult
44077ee11c
dix: unexport screenIsSaved and HasSaverWindow()
...
These aren't used by any external drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:52:23 +01:00
Enrico Weigelt, metux IT consult
b0ac921156
dix: unexport GrabInProgress
...
Only internally within OS layer and screen saver logic,
so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:42:29 +01:00
Enrico Weigelt, metux IT consult
064e5f2ddf
os: drop OsCleanup()
...
Since we're always terminating now, everbody can call UnlockServer()
directly, so we don't need that extra function anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 11:19:02 +01:00
Enrico Weigelt, metux IT consult
f27e12c918
dix: drop DE_RESET and associated cmdline args
...
Drop the -reset flag, so Xserver now either simply continues (w/o going
through internal reset) when last client disconnected or terminates
when -terminate is given.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-18 18:22:25 +01:00
Marc-Alexandre Espiaut
45ff802682
dix: _colormap_find_resource(): fix -Wunused-parameter warning
...
Signed-off-by: Marc-Alexandre Espiaut <76531574+malespiaut@users.noreply.github.com >
2025-11-18 13:30:32 +01:00
Marc-Alexandre Espiaut
0588be6d1e
dix: FreeClientPixels(): fix -Wunused-parameter warning
...
Signed-off-by: Marc-Alexandre Espiaut <76531574+malespiaut@users.noreply.github.com >
2025-11-18 13:30:32 +01:00
stefan11111
0ec0f00c23
glx: revert cb85ceae2d
...
This commit broke glx after server reset.
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2025-11-11 10:46:29 +01:00
stefan11111
631dc9d275
dix: partially revert 8399c4e263
...
Turns out that glx does need this one.
Assuming no external modules need this,
it should be fine to keep this in a private header.
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2025-11-11 10:46:29 +01:00
Enrico Weigelt, metux IT consult
ec3232e36e
dix: move ReplyNotSwappd() out of public header
...
Internal, non-publich function - should not be in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-11 10:43:11 +01:00
Enrico Weigelt, metux IT consult
f813cb569f
dix: move swaprep.h and swapreq.h into dix
...
These aren't public includes, so they're better placed in dix.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-11 10:42:40 +01:00
Enrico Weigelt, metux IT consult
037a2e5675
include: unexport CURSOR_BITS_SIZE() and CURSOR_REC_SIZE() macros
...
Not used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-08 10:45:43 +01:00
Enrico Weigelt, metux IT consult
94f7925f01
dix: move IMAGE_BUFSIZE define out of public header
...
It's just a tuning parameter (that nobody touched for aeons) for
DoGetImage(), inside dix/dispatch.c
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-07 09:32:17 +01:00
Enrico Weigelt, metux IT consult
03dcb626fe
dix: UngrabServer(): clear grabClient pointer
...
When ungrabbing, clear the grab pointer, so no stale data left
in here.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-05 17:16:42 +01:00
Enrico Weigelt, metux IT consult
21db844ea1
dix: MakeRootTile(): constify from field
...
It's assigned a const char* value and not writing into it,
so it should be const, too (compiler correctly warning about that)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-05 12:16:06 +01:00
clhin
7468cd4ee0
dispatch.c: const correctness
2025-11-04 10:48:52 +01:00