aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-04-08 11:22:51 +0200
committerDrew DeVault <sir@cmpwn.com>2020-04-08 16:36:40 +0200
commit0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6 (patch)
tree496d26adca7bde794d346cedcdce79e1cd73f6ae /include/sway/config.h
parent40e87fa98afd3e4ee4c13365beb539fc164adbc0 (diff)
Introduce test_output_config
This function checks whether the backend would accept an output configuration, without applying the changes.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 94ce6214..b541ff0d 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -691,6 +691,8 @@ 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 test_output_config(struct output_config *oc, struct sway_output *output);
+
struct output_config *store_output_config(struct output_config *oc);
struct output_config *find_output_config(struct sway_output *output);