mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-08 00:00:14 +01:00
tablet: drop unnecessary call to reset the changed axes
The only code path that leads here would see the changed_axes array zeroed out in tablet_send_axis_proximity_tip_down_events(), zeroing again is unlikely to make it more zero. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pingc@wacom.com>
This commit is contained in:
parent
eb8cfa301a
commit
c8fde99ad9
1 changed files with 0 additions and 1 deletions
|
|
@ -1421,7 +1421,6 @@ tablet_flush(struct tablet_dispatch *tablet,
|
|||
}
|
||||
|
||||
if (tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) {
|
||||
memset(tablet->changed_axes, 0, sizeof(tablet->changed_axes));
|
||||
tablet_notify_proximity(&device->base,
|
||||
time,
|
||||
tool,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue