cmd_output: Merge instead of replace output config

This commit is contained in:
Christoph Gysin 2015-11-29 22:51:48 +02:00
parent ae7ed79573
commit b1bd3ae6f3
3 changed files with 43 additions and 4 deletions

View file

@ -99,6 +99,7 @@ bool read_config(FILE *file, bool is_active);
*/
char *do_var_replacement(char *str);
int output_name_cmp(const void *item, const void *data);
void merge_output_config(struct output_config *dst, struct output_config *src);
/** Sets up a WLC output handle based on a given output_config.
*/
void apply_output_config(struct output_config *oc, swayc_t *output);