summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorEric Rybicki <info@ericrybicki.com>2020-01-22 17:03:33 +0100
committerEric Rybicki <info@ericrybicki.com>2020-01-22 17:03:33 +0100
commit67261b1e87155d1f48ebf2c28e00dbcd8b0f3d37 (patch)
tree1dce17eb5def0fbdfe94f068353f9123f5af7b5b /platform
parent409de53e7253a0e900b09aedb983d998ccf30659 (diff)
Remove buggy check if key was already released for accumulated input
Fixes #27104
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());