mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-28 19:00:18 +01:00
Warn if the touch isn't down for a touch motion
This commit is contained in:
parent
1f37500607
commit
1fd88a364c
1 changed files with 4 additions and 1 deletions
|
|
@ -669,8 +669,11 @@ ei_touch_motion(struct ei_touch *touch, double x, double y)
|
|||
return;
|
||||
}
|
||||
|
||||
if (touch->state != TOUCH_IS_DOWN)
|
||||
if (touch->state != TOUCH_IS_DOWN) {
|
||||
log_bug_client(ei_device_get_context(device),
|
||||
"%s: touch %u is not currently down\n", __func__, touch->tracking_id);
|
||||
return;
|
||||
}
|
||||
|
||||
struct ei_region *r;
|
||||
list_for_each(r, &device->regions, link) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue