aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
authorLibravatar Flakebi <flakebi@t-online.de>2019-03-16 17:20:54 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-16 12:32:09 -0400
commit2578669de76c6d4b2038a648d1cfcd3c7e9e320a (patch)
tree803b0283c47aa3478d8265c6f40d6cda08cbe160 /swaymsg
parentFix quoting of commands passed to for_window (diff)
downloadsway-2578669de76c6d4b2038a648d1cfcd3c7e9e320a.tar.gz
sway-2578669de76c6d4b2038a648d1cfcd3c7e9e320a.tar.zst
sway-2578669de76c6d4b2038a648d1cfcd3c7e9e320a.zip
Flush stdout in swaymsg when in subscribe mode
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index a0ef7e3d..65cc4bbb 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -493,6 +493,7 @@ int main(int argc, char **argv) {
493 printf("%s\n", json_object_to_json_string_ext(obj, 493 printf("%s\n", json_object_to_json_string_ext(obj,
494 JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_SPACED)); 494 JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_SPACED));
495 } 495 }
496 fflush(stdout);
496 json_object_put(obj); 497 json_object_put(obj);
497 } 498 }
498 499