summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-02 17:20:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-23 17:52:40 +1000
commit763848d3ab84b4e33a0254120c44b5a1877c819d (patch)
tree5215ee6c1c042aa6f505ebd27fb2f59b9d9cbf25 /dix
parent0b4066c116e07918a13dc6b4159df7ac9eb92b4b (diff)
Input: change processing API to InternalEvents.
Don't pass xEvent* and count through to processing, pass a single InternalEvent. Custom handlers are disabled for the time being. And for extra fun, XKB's pointer motion emulation is disabled. But stick an error in there so that we get reminded should we forget about it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c
index 5579ef276..881e4c529 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -1028,7 +1028,7 @@ NoticeEventTime(InternalEvent *ev)
* linked list for later delivery.
*/
void
-EnqueueEvent(xEvent *ev, DeviceIntPtr device, int count)
+EnqueueEvent(InternalEvent *ev, DeviceIntPtr device)
{
QdEventPtr tail = *syncEvents.pendtail;
QdEventPtr qe;
@@ -1163,7 +1163,7 @@ PlayReleasedEvents(void)
}
#endif
- (*qe->device->public.processInputProc)(qe->event, qe->device, 1);
+ (*qe->device->public.processInputProc)(qe->event, qe->device);
xfree(qe);
for (dev = inputInfo.devices; dev && dev->deviceGrab.sync.frozen; dev = dev->next)
;