projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d6bef
)
update machinery: fix top objects
author
Phil Sutter
<phil@nwl.cc>
Sun, 6 Sep 2009 23:49:44 +0000
(
01:49
+0200)
committer
Phil Sutter
<phil@nwl.cc>
Sun, 6 Sep 2009 23:49:44 +0000
(
01:49
+0200)
This is a bit messy, but since the top update stuff could use a rewrite
anyway, this should do.
src/core.c
patch
|
blob
|
history
diff --git
a/src/core.c
b/src/core.c
index
7359f70
..
b9290a5
100644
(file)
--- 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;
}