diff options
author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-07-26 12:30:04 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-07-27 03:53:05 +0300 |
commit | e4bba906b68b9347c085a7833f6dbc7ddb1a41b4 (patch) | |
tree | b5291ecfd217807534a8fd537d6243a02ff2d34b /include | |
parent | arrange: remove gaps for workspace location deltas (diff) | |
download | sway-e4bba906b68b9347c085a7833f6dbc7ddb1a41b4.tar.gz sway-e4bba906b68b9347c085a7833f6dbc7ddb1a41b4.tar.zst sway-e4bba906b68b9347c085a7833f6dbc7ddb1a41b4.zip |
Avoid adding duplicate criteria for no_focus and command
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/criteria.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 8a1d9e5e..dc8dcb98 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h | |||
@@ -40,6 +40,9 @@ struct criteria { | |||
40 | }; | 40 | }; |
41 | 41 | ||
42 | bool criteria_is_empty(struct criteria *criteria); | 42 | bool criteria_is_empty(struct criteria *criteria); |
43 | bool criteria_is_equal(struct criteria *left, struct criteria *right); | ||
44 | |||
45 | bool criteria_already_exists(struct criteria *criteria); | ||
43 | 46 | ||
44 | void criteria_destroy(struct criteria *criteria); | 47 | void criteria_destroy(struct criteria *criteria); |
45 | 48 | ||