summaryrefslogtreecommitdiff
path: root/dix/eventconvert.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 16:52:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:33:44 +1000
commitbae070914fc27db122e6131ae4838559c4a72f65 (patch)
tree7e92d1103a2013b3b70fb6c4e916a6010fdc44d5 /dix/eventconvert.c
parent83f32d3972b8bfb0a87069dfb3fcd64b6b7c6424 (diff)
input: update to inputproto 1.9.99.8 XI2 defines.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/eventconvert.c')
-rw-r--r--dix/eventconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index d97ed811f..e51b8ec07 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -323,7 +323,7 @@ eventToClassesChanged(DeviceChangedEvent *ev, xEvent **xi)
dce->evtype = XI_DeviceChanged;
dce->time = GetTimeInMillis();
dce->sourceid = slave->id;
- dce->reason = SlaveSwitch;
+ dce->reason = XISlaveSwitch;
dce->length = (len - sizeof(xEvent))/4;
/* FIXME: this should come from the event, not from the device. See