Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): detach thread inputs explicitly
This commit ensures that any calls to AttachThreadInput which are used to allow the focusing or raising of a window are paired with a closing call to detach the thread input. Although undocumented, it seems that when attaching the input thread of a window to an admin/sudo process, this prevents that window from handling inputs from any unelevated processes (including regular keyboard and mouse inputs), until the input thread is detached. fix #86
- Loading branch information
Showing
3 changed files
with
50 additions
and
5 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