Windows: Don't discard messages from other windows in the message handler

This commit is contained in:
Elias Naur 2006-09-19 11:06:02 +00:00
parent 03c801b081
commit 26f2014516
1 changed files with 1 additions and 9 deletions

View File

@ -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);
}
}
}