Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtlib: win32/win64: MULTIKEY() on consoles track console focus
- MULTIKEY(): remove the 'FindWindow' logic for console windows - use fb_ConsoleProcessEvents() to handle FOCUS_EVENT and track if the console has focus - previously GetForegroundWindow() and FindWindow() was used to try determine if the console has focus, but this won't work in a program having a window that manages multiple consoles (win 10+)
- Loading branch information
Showing
4 changed files
with
21 additions
and
56 deletions.
There are no files selected for viewing
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
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
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
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