Remove buggy check if key was already released for accumulated input
Fixes #27104
This commit is contained in:
parent
409de53e72
commit
67261b1e87
1 changed files with 0 additions and 5 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue