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

Fix scratchpad #121

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Conversation

axelKeizoStahl
Copy link
Contributor

#118

The problem is with the functionality of smart focusing.
It tries to not switch focus to a scratchpad, but instead of seeing if the window is currently a scratchpad, it checks if it was when it was focused.
I repaired this.

Now, if smart focusing is enabled, it will reopen any windows closed by a scratchpad's exclude rule once said scratchpad is closed.
I believe this extra functionality makes sense for smart focusing, but of course it is up for discussion.

@axelKeizoStahl
Copy link
Contributor Author

This is now just the bug fix, the "feature" will be put on a feature request and can be discussed there.

@fdev31 fdev31 merged commit a9a9d7b into hyprland-community:main Jul 8, 2024
1 check passed
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