Hacker News new | ask | show | jobs
by frutiger 1571 days ago
Classic win32 programming mistake on this line: https://github.com/sigoden/windows-switcher/blob/f2088e7f05a.... `GetMessage` can return a negative value when there is an error but before the program is quitting, see https://docs.microsoft.com/en-us/windows/win32/api/winuser/n....