diff options
author | Kenny Levinsen <kl@kl.wtf> | 2024-03-16 00:57:11 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-03-28 10:45:20 +0100 |
commit | 923f642b704022442cc3245a2fa13278341c14e0 (patch) | |
tree | 31e18e0dbbc78f5d4e2f2c2f2f49c81e02fe9543 /include | |
parent | config/output: Introduce apply_output_configs (diff) | |
download | sway-923f642b704022442cc3245a2fa13278341c14e0.tar.gz sway-923f642b704022442cc3245a2fa13278341c14e0.tar.zst sway-923f642b704022442cc3245a2fa13278341c14e0.zip |
output/config: Add apply_all_output_configs
Apply all output configs as they are. This differs from
apply_output_config_to_outputs, which tries to apply a specific output
config.
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 d23fe578..eff7cfbb 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -695,6 +695,8 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output); | |||
695 | bool apply_output_configs(struct matched_output_config *configs, | 695 | bool apply_output_configs(struct matched_output_config *configs, |
696 | size_t configs_len, bool test_only); | 696 | size_t configs_len, bool test_only); |
697 | 697 | ||
698 | void apply_all_output_configs(void); | ||
699 | |||
698 | bool test_output_config(struct output_config *oc, struct sway_output *output); | 700 | bool test_output_config(struct output_config *oc, struct sway_output *output); |
699 | 701 | ||
700 | struct output_config *store_output_config(struct output_config *oc); | 702 | struct output_config *store_output_config(struct output_config *oc); |