Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

toggleWindow: minimize before hide to return focus #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

myfonj
Copy link

@myfonj myfonj commented Nov 1, 2017

Fixes issue #50

@egoist
Copy link
Owner

egoist commented Nov 1, 2017

not sure about this fix, but it shouldn't minimize window on macOS and probably linux either?

@myfonj
Copy link
Author

myfonj commented Nov 1, 2017

Sure, would not be surprised if it behaved differently in other OSes, but cannot test.
Just telling that calling minimize before hide fixes the "nothing is active after toggle or close" issue on my machine (tested).
(I've encountered similar misbehavior when manipulating windows with AutoHotkey, so it seemed quite familiar.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants