clear modstate on window focus
this fixes the issue where the alt modstate was getting stuck on systems that don't send standard keyup events after alt-tab. for example, in KDE Plasma (on Gentoo, at least), the keyup event when alt is released after alt-tab contains an incorrect keycode (NUMLOCK instead of L_ALT), which was preventing us from correctly clearing the alt modstate.develop
parent
063c512389
commit
192dfd51ee
Loading…
Reference in New Issue