From 0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 8 Apr 2020 11:22:51 +0200 Subject: Introduce test_output_config This function checks whether the backend would accept an output configuration, without applying the changes. --- include/sway/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sway') 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); -- cgit v1.2.3