From 26f201451678146880a8bc62aef3415301a21d3c Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 19 Sep 2006 11:06:02 +0000 Subject: [PATCH] Windows: Don't discard messages from other windows in the message handler --- src/native/windows/org_lwjgl_opengl_Display.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/native/windows/org_lwjgl_opengl_Display.c b/src/native/windows/org_lwjgl_opengl_Display.c index 582970a2..8662b712 100644 --- a/src/native/windows/org_lwjgl_opengl_Display.c +++ b/src/native/windows/org_lwjgl_opengl_Display.c @@ -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); } } }