diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-11-29 15:23:27 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-11-29 15:32:02 +0200 |
commit | 7059eccaa12e7f74d8dfd4744a05ec7d438c9f08 (patch) | |
tree | d0137b2fc4b8d002fee18d739b9345445eea2195 /sway/commands.c | |
parent | ffdfaaa985467ea673c9c388bf1a18f7ca83af41 (diff) |
cmd_output: Log enable/disable state
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c index 4eaa210f..e00cc94d 100644 --- 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 |