Fix keyboard/input layout change not working when client had focus

This commit is contained in:
UnknownShadow200 2017-08-05 22:33:46 +10:00
parent 75d4fb0549
commit e24ef9e4e6

View File

@ -684,7 +684,7 @@ namespace OpenTK.Platform.Windows
MSG msg;
public void ProcessEvents() {
while( API.PeekMessage(ref msg, window.WindowHandle, 0, 0, 1) ) {
while( API.PeekMessage(ref msg, IntPtr.Zero, 0, 0, 1) ) {
API.TranslateMessage(ref msg);
API.DispatchMessage(ref msg);
}