mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 23:47:12 +01:00
fix key events for win32
This commit is contained in:
@@ -550,7 +550,7 @@ void X11Window::poll()
|
||||
if(event.type == KeyPress)
|
||||
processKeyDown(keyCode);
|
||||
else if(event.type == KeyRelease)
|
||||
processKeyRelease(keyCode);
|
||||
processKeyUp(keyCode);
|
||||
}
|
||||
|
||||
// call filter because xim will discard KeyPress events when keys still composing
|
||||
|
||||
Reference in New Issue
Block a user