From e4e2e886e87507b1e7d521c819ecc9f7b6930163 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sat, 6 May 2017 23:31:28 -0400 Subject: [PATCH] Added small delays to autotype on Linux --- src/autotype/xcb/AutoTypeXCB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/autotype/xcb/AutoTypeXCB.cpp b/src/autotype/xcb/AutoTypeXCB.cpp index 9290639f2..e15396122 100644 --- a/src/autotype/xcb/AutoTypeXCB.cpp +++ b/src/autotype/xcb/AutoTypeXCB.cpp @@ -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)