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/sway/criteria.h | |
parent | 17c9a0e84f066f6ad1e7d93be0edf8e7bf3a59b7 (diff) |
Avoid adding duplicate criteria for no_focus and command
Diffstat (limited to 'include/sway/criteria.h')
-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 { }; bool criteria_is_empty(struct criteria *criteria); +bool criteria_is_equal(struct criteria *left, struct criteria *right); + +bool criteria_already_exists(struct criteria *criteria); void criteria_destroy(struct criteria *criteria); |