mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-04-17 16:31:55 +00:00
Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations.
This commit is contained in:
parent
ddcf5f6e44
commit
25c646639b
|
@ -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