mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
evdev: Avoid updating seat pointer position on tablet events
This commit is contained in:
parent
2b07a493c5
commit
4c6dae0bae
@ -487,8 +487,11 @@ new_absolute_motion_event (ClutterInputDevice *input_device,
|
||||
|
||||
_clutter_input_device_set_stage (seat->core_pointer, stage);
|
||||
|
||||
seat->pointer_x = x;
|
||||
seat->pointer_y = y;
|
||||
if (clutter_input_device_get_device_type (input_device) != CLUTTER_TABLET_DEVICE)
|
||||
{
|
||||
seat->pointer_x = x;
|
||||
seat->pointer_y = y;
|
||||
}
|
||||
|
||||
return event;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user