Skip to content

refactor: better set foreground#183

Merged
sigoden merged 2 commits intomainfrom
refactor
Apr 11, 2025
Merged

refactor: better set foreground#183
sigoden merged 2 commits intomainfrom
refactor

Conversation

@sigoden
Copy link
Copy Markdown
Owner

@sigoden sigoden commented Apr 11, 2025

Instead of AllocConsole, we simulate an empty keyboard input. The purpose is to make this process the "most recently active input process" to obtain the permission to set the foreground window.

@sigoden sigoden merged commit 2fe3762 into main Apr 11, 2025
2 checks passed
@sigoden sigoden deleted the refactor branch April 11, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant