cmd_output: Log enable/disable state

This commit is contained in:
Christoph Gysin 2015-11-29 15:23:27 +02:00
parent ffdfaaa985
commit 7059eccaa1

View file

@ -813,9 +813,10 @@ static struct cmd_results *cmd_output(int argc, char **argv) {
} }
list_add(config->output_configs, output); list_add(config->output_configs, output);
sway_log(L_DEBUG, "Config stored for output %s (%d x %d @ %d, %d) (bg %s %s)", sway_log(L_DEBUG, "Config stored for output %s (%s) (%d x %d @ %d, %d) (bg %s %s)",
output->name, output->width, output->height, output->x, output->y, output->name, output->enabled ? "enable" : "disable", output->width,
output->background, output->background_option); output->height, output->x, output->y, output->background,
output->background_option);
if (output->name) { if (output->name) {
// Try to find the output container and apply configuration now. If // Try to find the output container and apply configuration now. If