Created
April 1, 2016 02:31
-
-
Save mattn/70305daecfc78a5a82d8fe77416c1a23 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gui_w32.c b/src/gui_w32.c | |
index b2ee9ca..0679ed2 100644 | |
--- a/src/gui_w32.c | |
+++ b/src/gui_w32.c | |
@@ -2218,7 +2218,7 @@ gui_mch_wait_for_chars(int wtime) | |
parse_queued_messages(); | |
if (pPeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) | |
- || MsgWaitForMultipleObjects(0, NULL, FALSE, 100, QS_ALLEVENTS) | |
+ || MsgWaitForMultipleObjects(0, NULL, FALSE, 100, QS_ALLINPUT) | |
!= WAIT_TIMEOUT) | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment