aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index f9da1967..d23fe578 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -292,6 +292,14 @@ struct output_config {
};
/**
+ * An output config pre-matched to an output
+ */
+struct matched_output_config {
+ struct sway_output *output;
+ struct output_config *config;
+};
+
+/**
* Stores size of gaps for each side
*/
struct side_gaps {
@@ -684,6 +692,9 @@ void merge_output_config(struct output_config *dst, struct output_config *src);
bool apply_output_config(struct output_config *oc, struct sway_output *output);
+bool apply_output_configs(struct matched_output_config *configs,
+ size_t configs_len, bool test_only);
+
bool test_output_config(struct output_config *oc, struct sway_output *output);
struct output_config *store_output_config(struct output_config *oc);