Windows: Don't discard messages from other windows in the message handler
This commit is contained in:
parent
03c801b081
commit
26f2014516
|
@ -147,15 +147,7 @@ static void handleMessages(JNIEnv *env) {
|
|||
PM_REMOVE // removal options
|
||||
))
|
||||
{
|
||||
/*
|
||||
* It would be better to filter messages
|
||||
* to display_hwnd by specifying that to
|
||||
* PeekMessage instead of this check. However,
|
||||
* Windows will then mark LWJGL apps as "not
|
||||
* responding".
|
||||
*/
|
||||
if (msg.hwnd == display_hwnd)
|
||||
DispatchMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue