When we handle keyboard key events, we already retrieve the key state at the top of this function, so there is no real need to call the same libinput function again as we can just reuse the 'key_state' variable that we have above. Signed-off-by: Chris Michael <cpmichael@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>dev
parent
c25f72d8e9
commit
7e7f793174
Loading…
Reference in new issue