Enrico Weigelt, metux IT consult
95f802e3f6
dix: unexport RootWindowFinalizeCallback field
...
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-12 16:18:54 +02:00
Enrico Weigelt, metux IT consult
20b82a6efb
dix: unexport DeviceEventCallback field
...
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-12 16:18:50 +02:00
Enrico Weigelt, metux IT consult
1ba07d8065
dix: unexport DeliverRawEvent()
...
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-06-12 16:18:46 +02:00
Enrico Weigelt, metux IT consult
472e686496
dix: unexport DeliverEventsToWindow()
...
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-12 16:18:43 +02:00
Enrico Weigelt, metux IT consult
5d6d3b56ad
dix: unexport DeliverEvents() and fix return type
...
* not needed by any drivers, so no need to keep it exported
* correct return type is `enum EventDeliveryState`
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:40 +02:00
Enrico Weigelt, metux IT consult
a20e0304fe
dix: unexport TryClientEvents()
...
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-12 16:18:37 +02:00
Enrico Weigelt, metux IT consult
1dd10193a9
dix: unexport, document and rename GetSpriteWindow()
...
Not used by any drivers, so no need to keep it exported.
Also spending it for a better fitter name.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:32 +02:00
Enrico Weigelt, metux IT consult
32a0109615
dix: unexport, document and rename GetCurrentRootWindow()
...
Not used by any drivers, so no need to keep it exported.
Also spending it for a better fitter name.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:23 +02:00
Enrico Weigelt, metux IT consult
9e93d51e41
dix: unexport and document AlterSaveSetForClient()
...
Not used by any external drivers, so no need to keep it exported.
Also using XRetCode and marking paremters where NULL isn't allowed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:17 +02:00
Enrico Weigelt, metux IT consult
2da45bd9ca
dix: unexport and document ConfineToShape()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:09 +02:00
Enrico Weigelt, metux IT consult
a58fd6f511
( !2007 ) dix: unexport SendGraphicsExpose() and fix parameter types
...
* not used by any drivers, so no need to keep it exported
* fix parameter types to matching the protocol types
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:08 +02:00
Enrico Weigelt, metux IT consult
a94e906084
dix: unexport SendErrorToClient() and fix parameter types
...
* not used by any drivers, so no need to keep it exported
* fix parameter types to matching the protocol types
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:18:05 +02:00
Enrico Weigelt, metux IT consult
689de526a4
dix: unexport and document ClientIsAsleep()
...
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-12 16:18:01 +02:00
Enrico Weigelt, metux IT consult
2e0cde7b56
dix: unexport and document ClientWakeup()
...
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-12 16:17:58 +02:00
Enrico Weigelt, metux IT consult
646c76adea
dix: unexport and document ClientSignalAll()
...
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-12 16:17:52 +02:00
Enrico Weigelt, metux IT consult
b528301f97
dix: unexport and document ClientSignal()
...
Not used by any external drivers, so no need to keep it exported.
Also renamed to dixClientSignal(), since there's a conflicting prototype
in fontsproto.h.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:49 +02:00
Enrico Weigelt, metux IT consult
8104fc115d
dix: unexport and document ClientSleep()
...
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-12 16:17:45 +02:00
Enrico Weigelt, metux IT consult
49107319f7
dix: unexport and document MarkClientException()
...
Not supposed to be used by external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:42 +02:00
Enrico Weigelt, metux IT consult
5ae5fa9671
dix: unexport and document NextAvailableClient()
...
Only called from OS layer, thus should not be exported at all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:39 +02:00
Enrico Weigelt, metux IT consult
e9351ba7e0
include: drop obsolete dixevents.h
...
The include has become empty now. Not used by any external drivers,
so it can be dropped now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:35 +02:00
Enrico Weigelt, metux IT consult
fe951f7dd4
dix: unexport and document EventSuppressForWindow()
...
Not used by any external drivers, and not supposed to be used by them,
so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:32 +02:00
Enrico Weigelt, metux IT consult
b15cde3a1c
dix: unexport and document EventSelectForWindow()
...
Not used by any external drivers, and not supposed to be used by them,
so no need to keep it in public API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:29 +02:00
Enrico Weigelt, metux IT consult
0b6715c6dc
dix: unexport and document MaybeDeliverEventsToClient()
...
Not used by any external drivers, and only supposed to be DIX internal,
so shouldn't be exported at all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:17:14 +02:00
Enrico Weigelt, metux IT consult
3fd183f637
dix: unexport, rename and document GetSpriteCursor()
...
* not used by any external drivers, so no need to keep it exported
* choose better fitting name: InputDevGetSpriteCursor()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:16:59 +02:00
Enrico Weigelt, metux IT consult
0f522fa893
dix: unexport and document SetCriticalEvent()
...
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-12 16:16:50 +02:00
Enrico Weigelt, metux IT consult
9f0fa773b9
dix: unexport events related request handlers
...
Request handlers aren't supposed to be called by external drivers directly,
so no need to keep them in the public SDK API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:16:45 +02:00
Enrico Weigelt, metux IT consult
4cbe7e550c
sdk: add generic X return code
...
This type is should be used instead of plain int for all functions
returning and X error code (that's possibly sent to the client),
in order to make return value semantics clear to the humen reader.
(for the compiler, it still will be just an int)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:16:42 +02:00
Enrico Weigelt, metux IT consult
802a581f51
sdk: add _X_ATTRIBUTE_NONNULL_ARGS() macro
...
Adding a macro for specifying nonnull attributes, for easier future
transition to new C23 attributes or supporting strange compilers that
don't understand this attribute.
The purpose of using those attributes is aiding compiler warnings and
potential optimizations.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:16:37 +02:00
Alan Coopersmith
4b5d410591
dix-config.h: define HAVE_STRUCT_SOCKADDR_STORAGE for xtrans 1.6
...
xtrans 1.6 will use struct sockaddr_storage if HAVE_STRUCT_SOCKADDR_STORAGE
is defined, even if IPv6 is disabled, unlike previous versions which tied
it to the IPv6 #define.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1864 >
2025-03-14 22:38:36 +00:00
Enrico Weigelt, metux IT consult
a82fa00835
xkb: unexport XkbRF_RuleRec struct
...
Not used outside xkb, so no need to keep it in public API header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
83c8a90a61
xkb: unexport XkbRF_GroupRec struct
...
Not used outside xkb, so no need to keep it in public API header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
043dc8041c
xkb: unexport XkbRF_RulesRec struct
...
Not used by any drivers, so no need to keep it in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
34372cb3da
xkb: unexport XkbRF_Free()
...
Only used inside xkb/* - not used by any modules, so no need
to keep maintaining it in public headers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
89475cbed4
xkb: unexport XkbRF_Create()
...
Only used inside xkb/* - not used by any modules, so no need
to keep maintaining it in public headers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
c376cd2c3d
xkb: unexport XkbRF_LoadRules()
...
Only used inside xkb/* - not used by any modules, so no need
to keep maintaining it in public headers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
d3b328ba4a
xkb: unexport XkbRF_GetComponents()
...
Only used inside xkb/* - not used by any modules, so no need
to keep maintaining it in public headers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
b535fd7a4c
xkb: move XkbRF_* defines into xkb/maprules.c
...
Only used there so no need to keep them in public API header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
1a9592ea4b
xkb: move _XKB_RF_NAMES_PROP_ATOM define into xkbInit.c
...
It's only used there, nowhere else, so no need to keep it in
a public API header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
5030f23f94
xkb: drop unused XkbRF_Invalid define from xkbrules.h
...
Not used anywhere, so no need to keep it in public interface.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
975aed300e
xkb: drop unused _XKB_RF_NAMES_PROP_MAXLEN define
...
Not used anywhere, so no need to keep it in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
e38eeb4718
xkb: drop unused XkbRF_LoadRulesByName()
...
Not used anywhere, 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/1840 >
2025-02-26 13:43:52 +00:00
Enrico Weigelt, metux IT consult
00843efafb
Xext: drop disable flag for GE extension
...
There's really no practical use for disabling GEEext, would just
cause the Xserver misbehaviour (eg. missing byte swapping)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1812 >
2025-02-26 13:34:19 +00:00
Enrico Weigelt, metux IT consult
5f6cb45ac3
dix: unexport defines for device grab states
...
These aren't used anywhere in modules or outside DIX & XI, so
no need to keep them in public API any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1837 >
2025-02-26 13:24:41 +00:00
Enrico Weigelt, metux IT consult
1fc9a26afd
drop not needed includes of geext.h
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1810 >
2025-02-24 20:19:55 +00:00
Enrico Weigelt, metux IT consult
80593ab279
misc.h: move out MAXEXTENSIONS to geext.c
...
The only user of it is geext.c, so no need to have that define
in a public include file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1810 >
2025-02-24 20:19:55 +00:00
Enrico Weigelt, metux IT consult
de0aed0543
misc.h: move out checked_int64_(add|subtract)
...
These inline functions are used only in exactly one place,
so no need to keep them in a public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1808 >
2025-02-23 18:08:45 +00:00
Enrico Weigelt, metux IT consult
1dc648b1b7
os: drop unused TimerCheck()
...
This isn't used anywhere, so can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1789 >
2025-02-23 17:46:13 +00:00
Enrico Weigelt, metux IT consult
d973c43810
os: unexport SetCriticalOutputPending()
...
Not used by any drivers/modules, 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/1814 >
2025-02-23 17:39:18 +00:00
Enrico Weigelt, metux IT consult
6c88eb0cc4
misc.h: unexport compare_version()
...
Not used by any external modules, so no need to keep it in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1807 >
2025-02-18 11:17:40 +00:00
Enrico Weigelt, metux IT consult
804b2c081b
os: unexport CloseWellKnownConnections()
...
Not used by any modules, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1790 >
2025-02-18 10:53:45 +00:00