diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2020-04-08 11:22:51 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2020-04-08 11:22:51 +0200 |
| commit | f0f359260abc39cb18e9717bbd3dd6d7f152530d (patch) | |
| tree | 496d26adca7bde794d346cedcdce79e1cd73f6ae /include | |
| parent | e963c3deb0d8c1f3214d249b1667ee13f15dd8bd (diff) | |
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.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); 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); |
