mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
Fix keyboard/input layout change not working when client had focus
This commit is contained in:
parent
75d4fb0549
commit
e24ef9e4e6
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user