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

Window switcher does not work with maximized iterm2 windows #1455

Open
strindberg opened this issue Jun 8, 2017 · 1 comment
Open

Window switcher does not work with maximized iterm2 windows #1455

strindberg opened this issue Jun 8, 2017 · 1 comment

Comments

@strindberg
Copy link

iTerm2 has an option to use non-native full screen windows (The option is called "Native full screen windows"). The advantage of using non-native full screen is that such a window does not end up in its own space, as other full screen windows do.

However, it seems window.switcher cannot switch to such full screen windows: Consider the following snippet:

switchers = hs.window.switcher.new(hs.window.filter.new({iTerm2={allowRoles='*'}}))
hs.hotkey.bind('alt', '.', nil, function() switchers:next() end)

The "allowRoles='*' is required to make the windows even show up in the switcher, but the selected window is not switched to even with this change. If iTerm2 is not the active application when the switcher is used, it is activated, but only the last active window is activated: other iTerm2 windows cannot be activated.

@amnk
Copy link

amnk commented Jul 3, 2017

afaik, hs.hints is also affected by this. Basically, I have hs.hints.windowHints(nil, focusWindow), and iTerm2 window is not in the list. If there is some workaround, I'd be glad to know :)

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