summaryrefslogtreecommitdiff
path: root/include/xkbsrv.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-01-30 14:35:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:39 +1000
commit007e93c869325cafcc29d975b356dbb8e7cd2ac1 (patch)
treea824cb5c60f36c5167e3881b31f12eb62987cae2 /include/xkbsrv.h
parent64ea6078105f73d1b727619fc123920bc7e4a06c (diff)
xkb: Switch the xkb event processing path over to InternalEvents.
Before dropping down into the DIX, convert back into XI events. This is a temporary solution only, until the DIX is capable of handling InternalEvents anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/xkbsrv.h')
-rw-r--r--include/xkbsrv.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index 449722058..8a81431ea 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -56,6 +56,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "xkbstr.h"
#include "xkbrules.h"
#include "inputstr.h"
+#include "events.h"
typedef struct _XkbInterest {
DeviceIntPtr dev;
@@ -709,16 +710,14 @@ extern _X_EXPORT void XkbSendNotification(
);
extern _X_EXPORT void XkbProcessKeyboardEvent(
- struct _xEvent * /* xE */,
- DeviceIntPtr /* keybd */,
- int /* count */
+ DeviceEvent* /* event */,
+ DeviceIntPtr /* keybd */
);
extern _X_EXPORT void XkbHandleActions(
DeviceIntPtr /* dev */,
DeviceIntPtr /* kbd */,
- struct _xEvent * /* xE */,
- int /* count */
+ DeviceEvent* /* event */
);
extern _X_EXPORT Bool XkbEnableDisableControls(
@@ -734,15 +733,13 @@ extern _X_EXPORT void AccessXInit(
);
extern _X_EXPORT Bool AccessXFilterPressEvent(
- struct _xEvent * /* xE */,
- DeviceIntPtr /* keybd */,
- int /* count */
+ DeviceEvent* /* event */,
+ DeviceIntPtr /* keybd */
);
extern _X_EXPORT Bool AccessXFilterReleaseEvent(
- struct _xEvent * /* xE */,
- DeviceIntPtr /* keybd */,
- int /* count */
+ DeviceEvent* /* event */,
+ DeviceIntPtr /* keybd */
);
extern _X_EXPORT void AccessXCancelRepeatKey(