summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-22 19:19:02 +0100
committerGitHub <noreply@github.com>2020-01-22 19:19:02 +0100
commit2aa866fa7055ecb04eec11e436095a30808890dd (patch)
treeb60b97e22bf21fbcd8c2d1181b9f8ca1597543a5 /platform
parent40e41e22540c9b88b5afa1d9eb586bc8ae392d58 (diff)
parent67261b1e87155d1f48ebf2c28e00dbcd8b0f3d37 (diff)
Merge pull request #35440 from ericrybick/27104-input-buggy-linux
Remove buggy check if key was already released for accumulated input on linux
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/os_x11.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 2f0d49e6dd..57c7b0594c 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -2000,11 +2000,6 @@ void OS_X11::handle_key_event(XKeyEvent *p_event, bool p_echo) {
if (last_is_pressed) {
k->set_echo(true);
}
- } else {
- //ignore
- if (!last_is_pressed) {
- return;
- }
}
//printf("key: %x\n",k->get_scancode());