Revert "xkb: unexport XkbGetCoreMap() and XkbSetRepeatKeys()"

This reverts commit 25d99353eeb806f2929cf4423e481ff745ae4216.
These symbols are required by the xorgxrdp driver.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
This commit is contained in:
b-aaz 2026-01-02 10:46:14 +00:00 committed by Enrico Weigelt
parent 65d4e5e081
commit d2dcac6eca
4 changed files with 11 additions and 9 deletions

View File

@ -59,7 +59,6 @@ SOFTWARE.
#include "dix/request_priv.h"
#include "dix/rpcbuf_priv.h"
#include "Xi/handlers.h"
#include "xkb/xkbsrv_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
#include "swaprep.h"

View File

@ -44,10 +44,6 @@
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
#include <assert.h>
#include <pthread.h>
#include "xkb/xkbsrv_priv.h"
#include "quartz.h"
#include "darwin.h"
@ -57,6 +53,9 @@
#include "X11Application.h"
#include <assert.h>
#include <pthread.h>
#include "xkbsrv.h"
#include "exevents.h"
#include "X11/keysym.h"

View File

@ -197,6 +197,9 @@ extern _X_EXPORT void XkbFreeKeyboard(XkbDescPtr /* xkb */ ,
Bool /* freeDesc */
);
extern _X_EXPORT KeySymsPtr XkbGetCoreMap(DeviceIntPtr /* keybd */
);
extern _X_EXPORT void XkbApplyMappingChange(DeviceIntPtr /* pXDev */ ,
KeySymsPtr /* map */ ,
KeyCode /* firstKey */ ,
@ -210,6 +213,11 @@ extern _X_EXPORT void XkbDDXChangeControls(DeviceIntPtr /* dev */ ,
XkbControlsPtr /* new */
);
extern _X_EXPORT void XkbSetRepeatKeys(DeviceIntPtr /* pXDev */ ,
int /* key */ ,
int /* onoff */
);
extern _X_EXPORT void XkbGetRulesDflts(XkbRMLVOSet * /* rmlvo */
);

View File

@ -303,8 +303,4 @@ int XkbDDXUsesSoftRepeat(DeviceIntPtr dev);
void XkbDDXKeybdCtrlProc(DeviceIntPtr dev, KeybdCtrl *ctrl);
void XkbDDXUpdateDeviceIndicators(DeviceIntPtr dev, XkbSrvLedInfoPtr sli,
CARD32 newState);
KeySymsPtr XkbGetCoreMap(DeviceIntPtr keybd);
void XkbSetRepeatKeys(DeviceIntPtr pXDev, int key, int onoff);
#endif /* _XSERVER_XKBSRV_PRIV_H_ */