Fix Shift release failed

This commit is contained in:
Asura 2022-08-02 11:04:36 -07:00
parent 90b36795ea
commit 0695d50b9f

View File

@ -1081,7 +1081,7 @@ impl Handler {
let is_dead = keyboard.last_is_dead;
#[cfg(target_os = "linux")]
let is_dead = keyboard.is_dead();
if is_dead && string == "" {
if is_dead && string == "" && down_or_up == true {
return;
}
string