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

Match identifiers first for floating windows #1618

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

tuyafeng
Copy link

Hi ianyh,

Thank you for your hard work! Your app is truly fantastic. However, I've encountered a minor issue. While using it, I noticed that the behavior of floating windows seems to be influenced by the order of rules. For instance, consider the following rules:

* (With title rules, such as "MI 6")
com.apple.finder

In this setup, the first rule takes precedence, causing Finder windows to be unable to float properly. However, if I rearrange the rules like so:

com.apple.finder
* (With title rules, such as "MI 6")

Everything works perfectly fine. Therefore, I made a small adjustment accordingly. Since I'm not proficient in Swift, please feel free to correct any mistakes. Once again, thank you for creating such a wonderful app!

@tuyafeng tuyafeng requested a review from ianyh July 23, 2024 04:00
@tuyafeng
Copy link
Author

I adjusted the judgment to move the wild card to the end.

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