Implement 'all' matching criterion

This criterion matches all open windows, as a more readable (and
correct) version of the 'class=".*"' criterion (more correct because
it'll also match windows which don't have WM_CLASS set yet).
This commit is contained in:
Isaac Garzon
2021-07-23 14:19:36 +03:00
parent abbf6a85d7
commit 3a818c0f20
7 changed files with 116 additions and 3 deletions

View File

@ -200,7 +200,7 @@ state CRITERIA:
ctype = 'machine' -> CRITERION
ctype = 'floating_from' -> CRITERION_FROM
ctype = 'tiling_from' -> CRITERION_FROM
ctype = 'tiling', 'floating'
ctype = 'tiling', 'floating', 'all'
-> call cfg_criteria_add($ctype, NULL); CRITERIA
']'
-> call cfg_criteria_pop_state()