-
Committer:
Alan Griffiths
-
Author(s):
Daniel van Vugt
-
Date:
2012-03-07 12:59:07 UTC
-
mfrom:
(3045.1.1 mods)
-
Revision ID:
alan@octopull.co.uk-20120307125907-1qtv2mqqsmvlmxl2
Don't keep an active keyboard grab the whole time a shortcut key is held
down. Doing so was causing multiple bugs with Unity 5, which binds to
the Alt key. Instead use some simple heurisitics to decide if a key has
been "tapped" or not. (LP: #943194) (LP: #943851) (LP: #945373)
Yes, it is a compromise to go back to detecting taps based on timing.
However it is the only existing solution to all of these bugs related to
the Alt key.