Enrico Weigelt, metux IT consult
1be588fbbc
( !1714 ) dix: add per-screen close notify hook
...
Right now, extension specific actions on screen closing implemented by wrapping
the ScreenRec's PositionWindow() proc pointer: the extensions are storing the
original pointer in their private data and putting in their own one. On each
call, their proc restores the original one, calls it, and switches back again.
When multiple extensions doing so, they're forming a kind of daisy chain.
(the same is done for lots of other procs)
While that approach is looking nice and elegant on the drawing board, it's
complicated, dangerous like a chainsaw and makes debugging hard, leading to
pretty blurred API borders.
This commit introduces a simple approach for letting extension hook into the
screen closing path safely, w/o having to care much about side effects with
the call chain. Extensions now can simply register their hook proc (and an
opaque pointer) and get called back - w/o ever having to mess with the
ScreenRec's internal structures. These hooks are called before the original
vector (usually handled by DDX/screen driver directly) is called.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:56 +01:00
Enrico Weigelt, metux IT consult
5a69235013
( !1714 ) dix: add per-screen window position notify hook
...
Right now, extension specific actions on window positioning are implemented
by wrapping the ScreenRec's PositionWindow() proc pointer: the extensions are
storing the original pointer in their private data and putting in their own one.
On each call, their proc restores the original one, calls it, and switches back
again. When multiple extensions doing so, they're forming a kind of daisy chain.
(the same is done for lots of other procs)
While that approach is looking nice and elegant on the drawing board, it's
complicated, dangerous like a chainsaw and makes debugging hard, leading to
pretty blurred API borders.
This commit introduces a simple approach for letting extension hook into the
window positioning path safely, w/o having to care much about side effects
with the call chain. Extensions now can simply register their hook proc
(and an opaque pointer) and get called back - w/o ever having to mess with
the ScreenRec's internal structures. These hooks are called before the original
vector (usually handled by DDX/screen driver directly) is called.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:56 +01:00
Enrico Weigelt, metux IT consult
fc8a5c3f60
( !1714 ) dix: add per-screen window destructor hook
...
Right now, extension specific window destruction procedures are implemented
by wrapping the ScreenRec's DestroyWindow() proc pointer: the extensions are
storing the original pointer in their private data and putting in their own one.
On each call, their proc restores the original one, calls it, and switches back
again. When multiple extensions doing so, they're forming a kind of daisy chain.
(the same is done for lots of other procs)
While that approach is looking nice and elegant on the drawing board, it's
complicated, dangerous like a chainsaw and makes debugging hard, leading to
pretty blurred API borders.
This commit introduces a simple approach for letting extension hook into the
window destruction safely, w/o having to care much about side effects with
the call chain. Extensions now can simply register their destructor proc
(and an opaque pointer) and get called back - w/o ever having to mess with
the ScreenRec's internal structures.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:56 +01:00
Enrico Weigelt, metux IT consult
8b96ce1bdd
( !1789 ) os: drop unused TimerCheck()
...
This isn't used anywhere, so can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
c4b446946c
( !1799 ) xkb: unexport XkbCopyControls()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
c03d84c571
( !1799 ) xkb: unexport XkbDeviceApplyKeymap()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
e30c513758
( !1799 ) xkb: unexport XkbSendNewKeyboardNotify()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
9d86ba0d88
( !1799 ) xkb: unexport XkbApplyVirtualModChanges()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
83451b9dd1
( !1799 ) xkb: unexport XkbApplyCompatMapToKey()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
be3d7a9806
( !1799 ) xkb: unexport XkbKeyTypesForCoreSymbols()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
5982df023d
( !1799 ) xkb: unexport XkbChangeTypesOfKey()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
a572e12215
( !1799 ) xkb: unexport XkbFreeInfo()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
34bd1e2980
( !1799 ) xkb: unexport XkbChangeKeycodeRange()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
b86b46dfec
( !1799 ) xkb: unexport XkbConvertCase()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
7e3257ebc6
( !1799 ) xkb: unexport XkbLookupNamedGeometry()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
cdc623b6d1
( !1799 ) xkb: unexport XkbSetRepeatKeys()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
2e87bcd71c
( !1799 ) xkb: unexport XkbDisableComputedAutoRepeats()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
ac246d6196
( !1799 ) xkb: unexport XkbEnableDisableControls()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
41f8a42b92
( !1799 ) xkb: unexport XkbProcessKeyboardEvent()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
0596c19a1d
( !1799 ) xkb: unexport XkbHandleActions()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
e3334352c4
( !1799 ) xkb: unexport XkbHandleBell()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
5cbcaffd56
( !1799 ) xkb: unexport XkbStateChangedFlags()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
99c09f3fdc
( !1799 ) xkb: unexport XkbCheckIndicatorMaps()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
c309713e5f
( !1799 ) xkb: unexport XkbCheckSecondaryEffects()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
2b7137fe75
( !1799 ) xkb: unexport XkbComputeDerivedState()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
0cdf9c176e
( !1799 ) xkb: unexport XkbIndicatorsToUpdate()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
83bec8b13c
( !1799 ) xkb: unexport XkbUpdateAllDeviceIndicators()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
254e1d3c47
( !1799 ) xkb: unexport XkbUpdateIndicators()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
311c7565a2
( !1799 ) xkb: unexport XkbSetIndicators()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
6c86b9335e
( !1799 ) xkb: unexport XkbGetCoreMap()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
1a26bd1656
( !1799 ) xkb: unexport XkbUpdateActions()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
d974ee07d0
( !1799 ) xkb: unexport XkbUpdateDescActions()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
a39321df72
( !1799 ) xkb: unexport XkbResizeKeyActions()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
8c4bec0ff9
( !1799 ) xkb: unexport XkbResizeKeySyms()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
0852efe3c6
( !1799 ) xkb: unexport XkbAdjustGroup()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
eaae34a232
( !1799 ) xkb: unexport XkbVirtualModsToReal()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
e7d08cdfc2
( !1799 ) xkb: unexport XkbMaskForVMask()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
4959e322e6
( !1799 ) xkb: unexport XkbSetActionKeyMods()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
05db19c642
( !1799 ) xkb: unexport XkbFreeComponentNames()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
2fab2986a1
( !1799 ) xkb: unexport XkbResizeKeyType()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
ed3d1cf88b
( !1799 ) xkb: unexport XkbCopyKeyTypes()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
7a9887cedc
( !1799 ) xkb: unexport XkbAllocControls()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
f33ad396cf
( !1799 ) xkb: unexport XkbAllocNames()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
afb8dede5a
( !1799 ) xkb: unexport XkbAllocCompatMap()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
ea40301f71
( !1799 ) xkb: unexport XkbAllocIndicatorMaps()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
795425cffa
( !1799 ) xkb: unexport XkbAllocKeyboard()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
c612104138
( !1799 ) xkb: unexport XkbFreeNames()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
929c862efd
( !1799 ) xkb: unexport XkbFreeCompatMap()
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
579480b3ff
( !1799 ) xkb: unexport XkbSetExtension
...
Not used by any drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00
Enrico Weigelt, metux IT consult
5f5576c125
( !1799 ) xkb: unexport XkbInitPrivates()
...
This isn't supposed to be called by drivers, so unexport it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-02-19 20:01:55 +01:00