xkb: unexport key latch functions

These aren't used by drivers, so no need to keep them exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-04 19:46:13 +02:00
parent d16cd74129
commit 3029236cf3
2 changed files with 6 additions and 17 deletions

View File

@ -46,8 +46,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define XkbFreeCompatMap SrvXkbFreeCompatMap
#define XkbFreeKeyboard SrvXkbFreeKeyboard
#define XkbFreeNames SrvXkbFreeNames
#define XkbLatchModifiers SrvXkbLatchModifiers
#define XkbLatchGroup SrvXkbLatchGroup
#define XkbVirtualModsToReal SrvXkbVirtualModsToReal
#define XkbChangeKeycodeRange SrvXkbChangeKeycodeRange
#define XkbApplyVirtualModChanges SrvXkbApplyVirtualModChanges
@ -566,21 +564,6 @@ extern _X_EXPORT void XkbSetRepeatKeys(DeviceIntPtr /* pXDev */ ,
int /* onoff */
);
extern _X_EXPORT int XkbLatchModifiers(DeviceIntPtr /* pXDev */ ,
CARD8 /* mask */ ,
CARD8 /* latches */
);
extern _X_EXPORT int XkbLatchGroup(DeviceIntPtr /* pXDev */ ,
int /* group */
);
extern _X_EXPORT void XkbClearAllLatchesAndLocks(DeviceIntPtr /* dev */ ,
XkbSrvInfoPtr /* xkbi */ ,
Bool /* genEv */ ,
XkbEventCausePtr /* cause */
);
extern _X_EXPORT void XkbInitRules(XkbRMLVOSet * /* rmlvo */,
const char * /* rules */,
const char * /* model */,

View File

@ -142,4 +142,10 @@ XkbInterestPtr XkbFindClientResource(DevicePtr inDev, ClientPtr client);
XkbInterestPtr XkbAddClientResource(DevicePtr inDev, ClientPtr client, XID id);
int XkbRemoveResourceClient(DevicePtr inDev, XID id);
/* key latching */
int XkbLatchModifiers(DeviceIntPtr pXDev, CARD8 mask, CARD8 latches);
int XkbLatchGroup(DeviceIntPtr pXDev, int group);
void XkbClearAllLatchesAndLocks(DeviceIntPtr dev, XkbSrvInfoPtr xkbi,
Bool genEv, XkbEventCausePtr cause);
#endif /* _XSERVER_XKBSRV_PRIV_H_ */