From f33bcb36ef6f12530fe53e46691bdeb71dc98f72 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 7 Sep 2009 01:49:44 +0200 Subject: [PATCH] update machinery: fix top objects This is a bit messy, but since the top update stuff could use a rewrite anyway, this should do. --- src/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.c b/src/core.c index 7359f702..b9290a5f 100644 --- a/src/core.c +++ b/src/core.c @@ -1028,6 +1028,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long * handler. */ if (strncmp(s, "top", 3) == EQUAL) { add_update_callback(&update_meminfo); + add_update_callback(&update_top); if (!parse_top_args(s, arg, obj)) { return NULL; }