Chances are that you used Alt-Tab to tell your X window manager to switch to another window (most of them support such shortcut). The problem here is that intent receives only the key-down event when you press Alt, but never receives the key-up event, as at that point the focus has been passed to another window.
Something similar occurs if you use the mouse to change input focus
between windows while a key is depressed.
Some solutions have been proposed that would address the annoyance, but
they would cause more inconveniences than the problem they try to solve.
A simple solution is tapping the Alt key in the graphic output
window. intent will receive and key-up event and thus stop its cooking.
address-suppressed |