mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Avoid adding duplicate criteria for no_focus and command
This commit is contained in:
parent
17c9a0e84f
commit
e4bba906b6
4 changed files with 53 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue