Fix bug in Linux keyboard input sender
Held modifiers weren't being released again.
This commit is contained in:
@@ -120,6 +120,7 @@ void sendTokensAsInput( const std::vector<Token> tokens )
|
|||||||
if ( isModifier( token ) )
|
if ( isModifier( token ) )
|
||||||
{
|
{
|
||||||
sendKeyPress( token, KeyStatus::Down, display );
|
sendKeyPress( token, KeyStatus::Down, display );
|
||||||
|
heldInputs.push_back( token );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user