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

Restore focus to last active window when WT hides should be an option #58

Open
alexandrupetrini opened this issue Jan 15, 2021 · 1 comment

Comments

@alexandrupetrini
Copy link

Hello,

Please make this focus feature a settings option.

I use a focus follow mouse AHK script which gives focus to the window under the mouse without actually bringing it in front (meaning keyboard works, but the mouse did not touch the windows).

I often find myself being dragged from a monitor where I have the mouse to the monitor of the terminal when I minimize the terminal by shortcut, or when I close the game bar after pressing Super+G.

I am not able to pinpoint this problem to the quake wrapper. I don't see a lot of consistency immediately when I am closing my ahk scripts and when I exit WTQuake. I am not sure whether this option remains active after that or wether
it's related to the WTQuake feature.

If, you can, and think it's worth it, please create a way to disable this one in the settings file.

Thanks for the app. It make WT livable for the quake style terminal fans, when there aren't a lot of options for windows.

Regards,
Alex

@rmobis
Copy link

rmobis commented Feb 17, 2021

I have some issues with the focus restore as well, but for slightly different issues. Personally, I don't mind the focus being restored when you minimize it using the shortcut, but the fact that it does it even when you "exit" it by focusing another window is a tad annoying. That gives me similar issues where I click on the browser, it loses focus and resets the focus to the editor.

I could work on a PR to add an RestoreFocus: never|hotkey|always option which would determine when that happens, if @flyingpie thinks this is a good idea.

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

No branches or pull requests

2 participants