1
0
mirror of https://github.com/emersion/kanshi synced 2024-09-18 09:51:36 +02:00

Print profile output <-> head matching

This commit is contained in:
Simon Ser 2019-06-06 08:26:54 +03:00
parent 725d7881b3
commit a348c8e875
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

3
main.c
View File

@ -132,6 +132,9 @@ static void apply_profile(struct kanshi_state *state,
wl_list_for_each(profile_output, &profile->outputs, link) {
struct kanshi_head *head = matches[i];
fprintf(stderr, "applying profile output '%s' on connected head '%s'\n",
profile_output->name, head->name);
bool enabled = head->enabled;
if (profile_output->fields & KANSHI_OUTPUT_ENABLED) {
enabled = profile_output->enabled;