Added small delays to autotype on Linux

This commit is contained in:
Jonathan White 2017-05-06 23:31:28 -04:00
parent 278baaac80
commit e4e2e886e8
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

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)