summaryrefslogtreecommitdiffstats
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h1
-rw-r--r--include/sway/criteria.h3
3 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 91f2ae01..078652e7 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -135,6 +135,7 @@ sway_cmd cmd_mouse_warping;
135sway_cmd cmd_move; 135sway_cmd cmd_move;
136sway_cmd cmd_new_float; 136sway_cmd cmd_new_float;
137sway_cmd cmd_new_window; 137sway_cmd cmd_new_window;
138sway_cmd cmd_no_focus;
138sway_cmd cmd_orientation; 139sway_cmd cmd_orientation;
139sway_cmd cmd_output; 140sway_cmd cmd_output;
140sway_cmd cmd_permit; 141sway_cmd cmd_permit;
diff --git a/include/sway/config.h b/include/sway/config.h
index 2de90434..35f8d5f7 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -250,6 +250,7 @@ struct sway_config {
250 list_t *output_configs; 250 list_t *output_configs;
251 list_t *input_configs; 251 list_t *input_configs;
252 list_t *criteria; 252 list_t *criteria;
253 list_t *no_focus;
253 list_t *active_bar_modifiers; 254 list_t *active_bar_modifiers;
254 struct sway_mode *current_mode; 255 struct sway_mode *current_mode;
255 struct bar_config *current_bar; 256 struct bar_config *current_bar;
diff --git a/include/sway/criteria.h b/include/sway/criteria.h
index 022c48a8..c5ed9857 100644
--- a/include/sway/criteria.h
+++ b/include/sway/criteria.h
@@ -36,4 +36,7 @@ list_t *criteria_for(swayc_t *cont);
36// Returns a list of all containers that match the given list of tokens. 36// Returns a list of all containers that match the given list of tokens.
37list_t *container_for(list_t *tokens); 37list_t *container_for(list_t *tokens);
38 38
39// Returns true if any criteria in the given list matches this container
40bool criteria_any(swayc_t *cont, list_t *criteria);
41
39#endif 42#endif