mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
evdev: Avoid updating seat pointer position on tablet events
This commit is contained in:
parent
422284e0cd
commit
5774875ab9
@ -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…
x
Reference in New Issue
Block a user