diff options
author | Johan Sköld <git@johan.skold.cc> | 2023-09-01 21:28:09 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-09-07 10:42:54 +0900 |
commit | d952ce403e63a1d91f07b72d971500d583609223 (patch) | |
tree | 21782cf134499ebc3d4fffd41c50a582adb55990 /include | |
parent | commands/input/map_from_region: don't treat 0x prefix as hex identifier (diff) | |
download | sway-d952ce403e63a1d91f07b72d971500d583609223.tar.gz sway-d952ce403e63a1d91f07b72d971500d583609223.tar.zst sway-d952ce403e63a1d91f07b72d971500d583609223.zip |
i3 compat: Adding support for the `all` criteria
Matches all views. i3 PR: https://github.com/i3/i3/pull/4460
Fixes #7110
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/criteria.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 59f57f94..8da345ea 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h | |||
@@ -43,6 +43,7 @@ struct criteria { | |||
43 | struct pattern *window_role; | 43 | struct pattern *window_role; |
44 | enum atom_name window_type; | 44 | enum atom_name window_type; |
45 | #endif | 45 | #endif |
46 | bool all; | ||
46 | bool floating; | 47 | bool floating; |
47 | bool tiling; | 48 | bool tiling; |
48 | char urgent; // 'l' for latest or 'o' for oldest | 49 | char urgent; // 'l' for latest or 'o' for oldest |