forked from joejulian/gio
3740f89171
First, don't filter on HWND in GetMessage and PeekMessage, lest thread-specific messages may get lost. See https://devblogs.microsoft.com/oldnewthing/20050209-00/?p=36493 Second, replace the dead status with the detection of WM_QUIT; it's what it's there for. May update gio#168 Signed-off-by: Elias Naur <mail@eliasnaur.com>