Skip to content

Commit 00df4b3

Browse files
committed
[PR #1379] xkb: unexport XkbGetCoreMap() and XkbSetRepeatKeys()
PR: #1379
1 parent 0888d91 commit 00df4b3

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

Xi/getkmap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ SOFTWARE.
5959
#include "dix/request_priv.h"
6060
#include "dix/rpcbuf_priv.h"
6161
#include "Xi/handlers.h"
62+
#include "xkb/xkbsrv_priv.h"
6263

6364
#include "inputstr.h" /* DeviceIntPtr */
6465
#include "swaprep.h"

include/xkbsrv.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,6 @@ extern _X_EXPORT void XkbFreeKeyboard(XkbDescPtr /* xkb */ ,
197197
Bool /* freeDesc */
198198
);
199199

200-
extern _X_EXPORT KeySymsPtr XkbGetCoreMap(DeviceIntPtr /* keybd */
201-
);
202-
203200
extern _X_EXPORT void XkbApplyMappingChange(DeviceIntPtr /* pXDev */ ,
204201
KeySymsPtr /* map */ ,
205202
KeyCode /* firstKey */ ,
@@ -213,11 +210,6 @@ extern _X_EXPORT void XkbDDXChangeControls(DeviceIntPtr /* dev */ ,
213210
XkbControlsPtr /* new */
214211
);
215212

216-
extern _X_EXPORT void XkbSetRepeatKeys(DeviceIntPtr /* pXDev */ ,
217-
int /* key */ ,
218-
int /* onoff */
219-
);
220-
221213
extern _X_EXPORT void XkbGetRulesDflts(XkbRMLVOSet * /* rmlvo */
222214
);
223215

xkb/xkbsrv_priv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,8 @@ int XkbDDXUsesSoftRepeat(DeviceIntPtr dev);
303303
void XkbDDXKeybdCtrlProc(DeviceIntPtr dev, KeybdCtrl *ctrl);
304304
void XkbDDXUpdateDeviceIndicators(DeviceIntPtr dev, XkbSrvLedInfoPtr sli,
305305
CARD32 newState);
306+
307+
KeySymsPtr XkbGetCoreMap(DeviceIntPtr keybd);
308+
void XkbSetRepeatKeys(DeviceIntPtr pXDev, int key, int onoff);
309+
306310
#endif /* _XSERVER_XKBSRV_PRIV_H_ */

0 commit comments

Comments
 (0)