commit 7059eccaa12e7f74d8dfd4744a05ec7d438c9f08
parent ffdfaaa985467ea673c9c388bf1a18f7ca83af41
Author: Christoph Gysin <christoph.gysin@gmail.com>
Date: Sun, 29 Nov 2015 15:23:27 +0200
cmd_output: Log enable/disable state
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sway/commands.c b/sway/commands.c
@@ -813,9 +813,10 @@ static struct cmd_results *cmd_output(int argc, char **argv) {
}
list_add(config->output_configs, output);
- sway_log(L_DEBUG, "Config stored for output %s (%d x %d @ %d, %d) (bg %s %s)",
- output->name, output->width, output->height, output->x, output->y,
- output->background, output->background_option);
+ sway_log(L_DEBUG, "Config stored for output %s (%s) (%d x %d @ %d, %d) (bg %s %s)",
+ output->name, output->enabled ? "enable" : "disable", output->width,
+ output->height, output->x, output->y, output->background,
+ output->background_option);
if (output->name) {
// Try to find the output container and apply configuration now. If