mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
Revert "Refactor tree"
This commit is contained in:
parent
6b7841b11f
commit
d0c7f66e95
39 changed files with 588 additions and 593 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _SWAY_CRITERIA_H
|
||||
#define _SWAY_CRITERIA_H
|
||||
|
||||
#include "tree/container.h"
|
||||
#include "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(struct sway_container *cont);
|
||||
list_t *criteria_for(swayc_t *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(struct sway_container *cont, list_t *criteria);
|
||||
bool criteria_any(swayc_t *cont, list_t *criteria);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue