summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-04-08 11:22:51 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-04-08 16:36:40 +0200
commit0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6 (patch)
tree496d26adca7bde794d346cedcdce79e1cd73f6ae /include
parentStop checking wlr_output_attach_buffer return value (diff)
downloadsway-0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6.tar.gz
sway-0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6.tar.zst
sway-0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6.zip
Introduce test_output_config
This function checks whether the backend would accept an output configuration, without applying the changes.
Diffstat (limited to 'include')
-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);
691 691
692bool apply_output_config(struct output_config *oc, struct sway_output *output); 692bool apply_output_config(struct output_config *oc, struct sway_output *output);
693 693
694bool test_output_config(struct output_config *oc, struct sway_output *output);
695
694struct output_config *store_output_config(struct output_config *oc); 696struct output_config *store_output_config(struct output_config *oc);
695 697
696struct output_config *find_output_config(struct sway_output *output); 698struct output_config *find_output_config(struct sway_output *output);