mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 14:25:35 +00:00
Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations.
This commit is contained in:
parent
c80cac88ca
commit
7ae6858ab5
|
@ -431,6 +431,9 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
break;
|
||||
|
||||
case WindowMessage.SYSCHAR:
|
||||
return IntPtr.Zero;
|
||||
|
||||
case WindowMessage.KILLFOCUS:
|
||||
keyboard.ClearKeys();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue