devdocs-desktop icon indicating copy to clipboard operation
devdocs-desktop copied to clipboard

toggleWindow: minimize before hide to return focus

Open myfonj opened this issue 8 years ago • 2 comments

Fixes issue #50

myfonj avatar Nov 01 '17 14:11 myfonj

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

egoist avatar Nov 01 '17 14:11 egoist

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.)

myfonj avatar Nov 01 '17 14:11 myfonj