diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-14 11:07:57 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-05-07 09:40:42 +1000 |
commit | 23d1bc69f305edd5a6e2cfec3dfc84befda0881c (patch) | |
tree | 557669efe99f751a37fac4ab8ed45af08f1622f9 /dix/getevents.c | |
parent | 27b11f5c19d67e2f6784d86cb7df86bbab3b58bb (diff) |
dix: send the current axis value in DeviceChangedEvents (#62321)
X.Org Bug 62321 <http://bugs.freedesktop.org/show_bug.cgi?id=62321>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/getevents.c')
-rw-r--r-- | dix/getevents.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index a4f192cf0..241c7ec0d 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -277,6 +277,7 @@ CreateClassesChangedEvent(InternalEvent *event, dce->valuators[i].mode = slave->valuator->axes[i].mode; dce->valuators[i].name = slave->valuator->axes[i].label; dce->valuators[i].scroll = slave->valuator->axes[i].scroll; + dce->valuators[i].value = slave->valuator->axisVal[i]; } } if (slave->key) { |