summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-03-16 01:11:35 +0100
committerSimon Ser <contact@emersion.fr>2024-03-28 10:45:20 +0100
commit9becff0ba56ac7da8b1235aa5740fb04414636a2 (patch)
tree9909fa4c64f2f9abace29d6d2a4aad1d49cb8b22 /include
parent56e97b7d60e3723f79fd972061191117bf544f08 (diff)
output/config: Remove reset_outputs and co.
apply_output_config_to_outputs uses the specified output config to check which outputs to apply to, and to use as backup when no config is found. If any config matches the output, the specified config will be disregarded. The only remaining user of apply_output_config_to_outputs is reset_outputs, which called apply_output_config_to_outputs with either the first stored wildcard config, or a new empty wildcard config. Providing a stored or empty wildcard config is practically the same as calling `apply_all_output_configs`. Replace uses of `reset_outputs` with `apply_all_output_configs` and remove the now unused functions.
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 69b14446..7e67ba21 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -701,10 +701,6 @@ struct output_config *store_output_config(struct output_config *oc);
struct output_config *find_output_config(struct sway_output *output);
-void apply_output_config_to_outputs(struct output_config *oc);
-
-void reset_outputs(void);
-
void free_output_config(struct output_config *oc);
bool spawn_swaybg(void);