Rework the output matching code to be simpler

Instead of doing merges of output configs in several places just keep a
list of all config changes and apply them in order when needed.

Fixes #5632
This commit is contained in:
Pedro Côrte-Real 2020-08-18 17:51:13 +01:00
parent 7ca9ef12f8
commit ac4f6ed583
3 changed files with 30 additions and 221 deletions

View file

@ -644,7 +644,7 @@ 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 apply_output_config_to_outputs();
void reset_outputs(void);