Skip to content
Commit 8fb529bc authored by Hideyuki Nagase's avatar Hideyuki Nagase Committed by Daniel Stone
Browse files

input: Fix bug in idle inhibition



Server generated key repeats are ignored - and they don't generate
matching release events. We early return to avoid generating events
for them.

We also need to push the idle inhibition counting after that early
return to prevent breaking idle inhibition with unmatched events.

Co-authored-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Co-authored-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: default avatarSteve Pronovost <spronovo@microsoft.com>
Signed-off-by: default avatarBrenton DeGeer <brdegeer@microsoft.com>
parent c2f4201e
Loading
Loading
Loading
Pipeline #562500 passed with stages
in 2 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment