From 7a0058ffb6f29c8b6cc9580490d0451498f60eb0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 21 Oct 2022 18:24:53 +0200 Subject: [PATCH] pw-top: do refresh after sync So that we also draw the screen quickly when there is no profiler running. --- src/tools/pw-top.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/pw-top.c b/src/tools/pw-top.c index ae2a14abd..92f73152c 100644 --- a/src/tools/pw-top.c +++ b/src/tools/pw-top.c @@ -604,6 +604,8 @@ static void on_core_done(void *_data, uint32_t id, int seq) if (d->profiler == NULL) { pw_log_error("no Profiler Interface found, please load one in the server"); pw_main_loop_quit(d->loop); + } else { + do_refresh(d); } } }