aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;
sway_cmd cmd_move;
sway_cmd cmd_new_float;
sway_cmd cmd_new_window;
+sway_cmd cmd_no_focus;
sway_cmd cmd_orientation;
sway_cmd cmd_output;
sway_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 {
list_t *output_configs;
list_t *input_configs;
list_t *criteria;
+ list_t *no_focus;
list_t *active_bar_modifiers;
struct sway_mode *current_mode;
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);
// Returns a list of all containers that match the given list of tokens.
list_t *container_for(list_t *tokens);
+// Returns true if any criteria in the given list matches this container
+bool criteria_any(swayc_t *cont, list_t *criteria);
+
#endif