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

Issue 1306: Fix "Follow thrown windows between spaces" setting not working #1333

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

EvanDorsky
Copy link
Contributor

This PR resolves Issue #1306 (Throw a window to other spaces will follow the window to that space even when the settings is unchecked.)

It looks to me like PR #1209 broke the "follow thrown windows between spaces" setting by adding a new call to window.focus that was not gated by a check for UserConfiguration.shared.followWindowsThrownBetweenSpaces().

Adding this check restores the expected behavior. This code builds and runs locally.

Pinging @dozzman as the author of PR #1209, just want to make sure adding this check doesn't break anything (I can't imagine it would, though).

Also thanks @ianyh for making contributing easy – I was able to get the project up and running in no time.

Copy link
Owner

@ianyh ianyh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@ianyh ianyh merged commit c36a402 into ianyh:development Nov 5, 2022
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.

2 participants