diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/config.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index d9f56157..f8007c92 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -297,14 +297,6 @@ struct output_config { }; /** - * An output config pre-matched to an output - */ -struct matched_output_config { - struct sway_output *output; - struct output_config *config; -}; - -/** * Stores size of gaps for each side */ struct side_gaps { @@ -693,14 +685,11 @@ const char *sway_output_scale_filter_to_string(enum scale_filter_mode scale_filt struct output_config *new_output_config(const char *name); -bool apply_output_configs(struct matched_output_config *configs, - size_t configs_len, bool test_only, bool degrade_to_off); +bool apply_output_configs(struct output_config **ocs, size_t ocs_len, + bool test_only, bool degrade_to_off); void apply_all_output_configs(void); -void sort_output_configs_by_priority(struct matched_output_config *configs, - size_t configs_len); - /** * store_output_config stores a new output config. An output may be matched by * three different config types, in order of precedence: Identifier, name and |
