xkb: unexport DDX entry points
These functions are entry points of the DDX (or stubs thereof), not supposed to be called by any drivers, so no need to keep them exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
fd7cf62ccc
commit
d16cd74129
|
@ -34,11 +34,13 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/extensions/XI.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
#include <X11/extensions/XI.h>
|
||||
|
||||
#include "xf86.h"
|
||||
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <X11/X.h>
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "windowstr.h"
|
||||
#include "os.h"
|
||||
#include "xf86.h"
|
||||
|
||||
|
|
|
@ -34,11 +34,13 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/extensions/XI.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
#include <X11/extensions/XI.h>
|
||||
|
||||
#include "xf86.h"
|
||||
|
||||
|
|
|
@ -557,21 +557,6 @@ extern _X_EXPORT void XkbDDXUpdateDeviceIndicators(DeviceIntPtr /* dev */ ,
|
|||
CARD32 /* newState */
|
||||
);
|
||||
|
||||
extern _X_EXPORT int XkbDDXTerminateServer(DeviceIntPtr /* dev */ ,
|
||||
KeyCode /* key */ ,
|
||||
XkbAction * /* act */
|
||||
);
|
||||
|
||||
extern _X_EXPORT int XkbDDXSwitchScreen(DeviceIntPtr /* dev */ ,
|
||||
KeyCode /* key */ ,
|
||||
XkbAction * /* act */
|
||||
);
|
||||
|
||||
extern _X_EXPORT int XkbDDXPrivate(DeviceIntPtr /* dev */ ,
|
||||
KeyCode /* key */ ,
|
||||
XkbAction * /* act */
|
||||
);
|
||||
|
||||
extern _X_EXPORT void XkbDisableComputedAutoRepeats(DeviceIntPtr /* pXDev */ ,
|
||||
unsigned int /* key */
|
||||
);
|
||||
|
|
|
@ -30,10 +30,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/keysym.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
|
||||
int
|
||||
XkbDDXTerminateServer(DeviceIntPtr dev, KeyCode key, XkbAction *act)
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
#include <dix-config.h>
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
|
||||
int
|
||||
XkbDDXPrivate(DeviceIntPtr dev, KeyCode key, XkbAction *act)
|
||||
|
|
|
@ -30,10 +30,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/keysym.h>
|
||||
|
||||
#include "xkb/xkbsrv_priv.h"
|
||||
|
||||
#include "inputstr.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "windowstr.h"
|
||||
#include <xkbsrv.h>
|
||||
|
||||
int
|
||||
XkbDDXSwitchScreen(DeviceIntPtr dev, KeyCode key, XkbAction *act)
|
||||
|
|
|
@ -132,6 +132,11 @@ void AccessXCancelRepeatKey(XkbSrvInfoPtr xkbi, KeyCode key);
|
|||
void AccessXComputeCurveFactor(XkbSrvInfoPtr xkbi, XkbControlsPtr ctrls);
|
||||
int XkbDDXAccessXBeep(DeviceIntPtr dev, unsigned int what, unsigned int which);
|
||||
|
||||
/* DDX entry points - DDX needs to implement these */
|
||||
int XkbDDXTerminateServer(DeviceIntPtr dev, KeyCode key, XkbAction *act);
|
||||
int XkbDDXSwitchScreen(DeviceIntPtr dev, KeyCode key, XkbAction *act);
|
||||
int XkbDDXPrivate(DeviceIntPtr dev, KeyCode key, XkbAction *act);
|
||||
|
||||
/* client resources */
|
||||
XkbInterestPtr XkbFindClientResource(DevicePtr inDev, ClientPtr client);
|
||||
XkbInterestPtr XkbAddClientResource(DevicePtr inDev, ClientPtr client, XID id);
|
||||
|
|
Loading…
Reference in New Issue