aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2024-03-16 00:57:11 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2024-03-28 10:45:20 +0100
commit923f642b704022442cc3245a2fa13278341c14e0 (patch)
tree31e18e0dbbc78f5d4e2f2c2f2f49c81e02fe9543 /include
parentconfig/output: Introduce apply_output_configs (diff)
downloadsway-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.h2
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);
695bool apply_output_configs(struct matched_output_config *configs, 695bool 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
698void apply_all_output_configs(void);
699
698bool test_output_config(struct output_config *oc, struct sway_output *output); 700bool test_output_config(struct output_config *oc, struct sway_output *output);
699 701
700struct output_config *store_output_config(struct output_config *oc); 702struct output_config *store_output_config(struct output_config *oc);