Browse Source

Merge pull request #35440 from ericrybick/27104-input-buggy-linux

Remove buggy check if key was already released for accumulated input on linux
Rémi Verschelde 5 years ago
parent
commit
2aa866fa70
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) {
 		if (last_is_pressed) {
 			k->set_echo(true);
 			k->set_echo(true);
 		}
 		}
-	} else {
-		//ignore
-		if (!last_is_pressed) {
-			return;
-		}
 	}
 	}
 
 
 	//printf("key: %x\n",k->get_scancode());
 	//printf("key: %x\n",k->get_scancode());