Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set focus to valid desktop window in an empty workspace #821

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

DreamMaoMao
Copy link
Contributor

@DreamMaoMao DreamMaoMao commented Nov 2, 2024

When switching to an empty workspace, we should logically focus on the desktop window, but in practice it fails, leaving us in a state where no window is focused, resulting in some window-event-based applications working abnormally, such as ahk:

desktop windows focus fail:

the windows message catch tool message: "can't get any focus window"

2024-11-02.12-31-12.mp4

apply this pr:

2024-11-02.12-30-37.mp4

@lars-berger lars-berger changed the title fix: not properly focused to the desktop when switching to an empty w… fix: set focus to valid desktop window in an empty workspace Nov 5, 2024
@lars-berger lars-berger merged commit 2eda7e8 into glzr-io:main Nov 5, 2024
2 checks passed
@DreamMaoMao DreamMaoMao deleted the fix-miss-focuse-desktop branch November 10, 2024 00:09
Copy link

🎉 This PR is included in version 3.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 3.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants