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