From c0ad3dea7dba400bcb4cda14d0d1d07d73a22d58 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 1 Dec 2015 16:53:47 +0300 Subject: memmaps: kill stupid periodic autoscrolling to the top of list from https://git.gnome.org/browse/gnome-system-monitor/commit?id=ed696eba1438231e797774510a3449140f31fc9c --- src/memmaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/memmaps.cpp b/src/memmaps.cpp index 06d9aa5..2c8909d 100644 --- a/src/memmaps.cpp +++ b/src/memmaps.cpp @@ -153,7 +153,7 @@ struct glibtop_map_entry_cmp bool operator()(const guint64 &start, const glibtop_map_entry &a) const { - return not (*this)(a, start); + return start < a.start; } }; -- cgit v1.2.1