Skip to content

Fix restore focus back to previous application, fixes #38 - #39

Open
peterdanis wants to merge 1 commit into
rickgbw:masterfrom
peterdanis:win-fix-focus
Open

Fix restore focus back to previous application, fixes #38#39
peterdanis wants to merge 1 commit into
rickgbw:masterfrom
peterdanis:win-fix-focus

Conversation

@peterdanis

Copy link
Copy Markdown

- fixes #38
- fix is only working when animation is turned off in user config
- if the window is minimized before hiding it, focus will be properly restored to previous application
@peterdanis

Copy link
Copy Markdown
Author

I should add, that focus is properly restored on Windows 7, Windows 10. On Linux (Fedora 26) behavior is unchanged, it worked before fix and works the same way after it.

@peterdanis

Copy link
Copy Markdown
Author

@rickgbw please merge this PR. Windows users could benefit from it. Alt-tabbing to get back to previous work after each terminal use is annoying. Thank you.

@monado3

monado3 commented May 31, 2020

Copy link
Copy Markdown

@peterdanis Thank you for your fix. This PR really helped me.

giyyapan added a commit to giyyapan/hyper-overlay that referenced this pull request Aug 23, 2020
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.

Win - focus is not switching back to previous application

2 participants