Browse Source

Remove buggy check if key was already released for accumulated input
Fixes #27104

Eric Rybicki 5 years ago
parent
commit
67261b1e87
1 changed files with 0 additions and 5 deletions
  1. 0 5
      platform/x11/os_x11.cpp

+ 0 - 5
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());