-
-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config: Do not match on substrings (#4603)
For some reason in the Match class we match on substrings. So e.g. for wm_class if value = ["test1", "bogus"] and our candidate is "test1what" we would loop through the list and determine that the test passes because test1 is a substring of test1what. This leads to confusion and bugs such as #4602 and #2670. In the current situation even the default config is pretty broken on X11 with the float rules (e.g. wm_type dialo would match dialog and thus result in a floating window).
- Loading branch information
1 parent
5512698
commit 40e97a8
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters