cmd_output: Use list_seq_find() to find matching config

This commit is contained in:
Christoph Gysin 2015-11-29 14:51:42 +02:00
parent 88f372a22a
commit 7d82cd9c0a
3 changed files with 14 additions and 7 deletions

View file

@ -98,6 +98,7 @@ bool read_config(FILE *file, bool is_active);
* Does variable replacement for a string based on the config's currently loaded variables.
*/
char *do_var_replacement(char *str);
int output_name_cmp(const void *item, const void *data);;
/** Sets up a WLC output handle based on a given output_config.
*/
void apply_output_config(struct output_config *oc, swayc_t *output);