evdev: Avoid updating seat pointer position on tablet events

This commit is contained in:
Carlos Garnacho 2015-06-17 16:56:59 +02:00
parent 2b07a493c5
commit 4c6dae0bae

View File

@ -487,8 +487,11 @@ new_absolute_motion_event (ClutterInputDevice *input_device,
_clutter_input_device_set_stage (seat->core_pointer, stage); _clutter_input_device_set_stage (seat->core_pointer, stage);
if (clutter_input_device_get_device_type (input_device) != CLUTTER_TABLET_DEVICE)
{
seat->pointer_x = x; seat->pointer_x = x;
seat->pointer_y = y; seat->pointer_y = y;
}
return event; return event;
} }