diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-08 11:22:51 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-04-08 16:36:40 +0200 |
commit | 0cdcf66bbccfeb1e3a8191cedd5f824bb27776a6 (patch) | |
tree | 496d26adca7bde794d346cedcdce79e1cd73f6ae /include/sway/config.h | |
parent | Stop checking wlr_output_attach_buffer return value (diff) | |
download | sway-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/sway/config.h')
-rw-r--r-- | include/sway/config.h | 2 |
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 | ||
692 | bool apply_output_config(struct output_config *oc, struct sway_output *output); | 692 | bool apply_output_config(struct output_config *oc, struct sway_output *output); |
693 | 693 | ||
694 | bool test_output_config(struct output_config *oc, struct sway_output *output); | ||
695 | |||
694 | struct output_config *store_output_config(struct output_config *oc); | 696 | struct output_config *store_output_config(struct output_config *oc); |
695 | 697 | ||
696 | struct output_config *find_output_config(struct sway_output *output); | 698 | struct output_config *find_output_config(struct sway_output *output); |