diff options
| author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 23:19:14 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-29 23:19:14 -0400 | 
| commit | 6b7841b11ff4cd35f54d69dc92029855893e5ce0 (patch) | |
| tree | 88c2de0d08e00b2a30cb20cdfadfa6e53f5c59b4 /include/sway/criteria.h | |
| parent | 3d29d833b133d48abfa87c1a79d8fbb507fd1426 (diff) | |
| parent | 2778edef976a669dd0019ebb5327bcfeb4de13c5 (diff) | |
| download | sway-6b7841b11ff4cd35f54d69dc92029855893e5ce0.tar.xz | |
Merge pull request #1647 from acrisci/refactor-tree
Refactor tree
Diffstat (limited to 'include/sway/criteria.h')
| -rw-r--r-- | include/sway/criteria.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 9b4b4bef..ec256ddb 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h @@ -1,7 +1,7 @@  #ifndef _SWAY_CRITERIA_H  #define _SWAY_CRITERIA_H -#include "container.h" +#include "tree/container.h"  #include "list.h"  /** @@ -31,12 +31,12 @@ char *extract_crit_tokens(list_t *tokens, const char *criteria);  // Returns list of criteria that match given container. These criteria have  // been set with `for_window` commands and have an associated cmdlist. -list_t *criteria_for(swayc_t *cont); +list_t *criteria_for(struct sway_container *cont);  // Returns a list of all containers that match the given list of tokens.  list_t *container_for_crit_tokens(list_t *tokens);  // Returns true if any criteria in the given list matches this container -bool criteria_any(swayc_t *cont, list_t *criteria); +bool criteria_any(struct sway_container *cont, list_t *criteria);  #endif | 
