Commit bebe23e1 authored by Benjamin Poirier's avatar Benjamin Poirier

evdev: Do not perform spurious detection when spurious is already enabled

When exiting RELEASE_DELAYED state, do not transition into states to detect
the need for spurious mode (RELEASE_WAITING, MAYBE_SPURIOUS).
RELEASE_DELAYED is only entered when spurious mode is enabled, there is no
need to detect the need for spurious mode again.
parent d7f67f4e
Pipeline #18128 passed with stage
in 3 minutes and 15 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -287,7 +287,7 @@ debounce_release_delayed_handle_event(struct fallback_dispatch *fallback, enum d
log_debounce_bug(fallback, event);
break;
case DEBOUNCE_EVENT_TIMEOUT_SHORT:
debounce_set_state(fallback, DEBOUNCE_STATE_RELEASE_WAITING);
debounce_set_state(fallback, DEBOUNCE_STATE_RELEASED);
debounce_notify_button(fallback,
LIBINPUT_BUTTON_STATE_RELEASED);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment