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 workspace name selector returning true early #5571

Merged
merged 1 commit into from Apr 13, 2024

Conversation

thejch
Copy link
Contributor

@thejch thejch commented Apr 12, 2024

Describe your PR, what does it fix/add?

Fix the issue where the workspace name selector returns true early
When there is a match, it shouldn't return true immediately. It should continue and check the next prop. This makes the behavior consistent with the rest of the code.

This fixes the issue that sometimes workspace rules are matching the workspace incorrectly if there's more than 1 prop.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

no

Is it ready for merging, or does it need work?

ready

@vaxerski vaxerski merged commit 582d623 into hyprwm:main Apr 13, 2024
9 checks passed
@thejch thejch deleted the name-selector branch April 13, 2024 08:31
lisuke pushed a commit to lisuke/Hyprland that referenced this pull request Apr 15, 2024
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.

None yet

2 participants