diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-16 19:36:57 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-18 14:41:49 +1000 |
commit | bc2ff5365030ad8bc11efde430b1064080dd7098 (patch) | |
tree | 62741d5d742d91811be4b86830db6ec8588a0f17 /Xi/exevents.c | |
parent | 87d1f44bad608507e3995e17eb84fa0a0119796c (diff) |
Xi: copy the valuator mode from SD to MD.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/exevents.c')
-rw-r--r-- | Xi/exevents.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 98973b7ff..8b69a3ad3 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -550,6 +550,7 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to) v->axisVal = (double*)(v->axes + from->valuator->numAxes); v->sourceid = from->id; + v->mode = from->valuator->mode; } else if (to->valuator && !from->valuator) { ClassesPtr classes; |