aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-04-15 21:46:50 -0300
committerFurkan Sahin <furkan-dev@proton.me>2019-04-15 21:46:50 -0300
commitebd67e885d6c2ed60207abf6f9d8068668e668a0 (patch)
tree0ac0b33d4bb1f63ccea152781b0b4108ec699fc7 /swaymsg/main.c
parent07716560196227e28e1b482d4a21dd794e6ed3f1 (diff)
Send disabled output available modes on IPC get_outputs
- Also fix missing trailing newline on pretty print Signed-off-by: Ranieri Althoff <1993083+ranisalt@users.noreply.github.com>
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index e2c43445..ccc847f5 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -230,7 +230,7 @@ static void pretty_print_output(json_object *o) {
);
} else {
printf(
- "Output %s '%s %s %s' (inactive)",
+ "Output %s '%s %s %s' (inactive)\n",
json_object_get_string(name),
json_object_get_string(make),
json_object_get_string(model),