Merge pull request #550 from keepassxreboot/bugfix/autotype-delay

Added small delays to autotype on Linux
This commit is contained in:
Janek Bevendorff 2017-05-07 11:36:51 +02:00 committed by GitHub
commit 9f819061cd

View File

@ -848,11 +848,13 @@ AutoTypeExecutorX11::AutoTypeExecutorX11(AutoTypePlatformX11* platform)
void AutoTypeExecutorX11::execChar(AutoTypeChar* action)
{
m_platform->SendKeyPressedEvent(m_platform->charToKeySym(action->character));
Tools::wait(25);
}
void AutoTypeExecutorX11::execKey(AutoTypeKey* action)
{
m_platform->SendKeyPressedEvent(m_platform->keyToKeySym(action->key));
Tools::wait(25);
}
void AutoTypeExecutorX11::execClearField(AutoTypeClearField* action = nullptr)