From 778f01bcf12874167211f2c0cf8f061fd4e4c9f7 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Tue, 24 Feb 2015 22:00:44 +0100 Subject: [PATCH] Increase sleep time after remapping a keycode. --- src/autotype/x11/AutoTypeX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autotype/x11/AutoTypeX11.cpp b/src/autotype/x11/AutoTypeX11.cpp index 078821ad9..d2d3acf0e 100644 --- a/src/autotype/x11/AutoTypeX11.cpp +++ b/src/autotype/x11/AutoTypeX11.cpp @@ -540,7 +540,7 @@ int AutoTypePlatformX11::AddKeysym(KeySym keysym) all clients */ timespec ts; ts.tv_sec = 0; - ts.tv_nsec = 10 * 1000 * 1000; + ts.tv_nsec = 30 * 1000 * 1000; nanosleep(&ts, Q_NULLPTR); return m_remapKeycode;