summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-01 16:53:47 +0300
committermonsta <[email protected]>2015-12-01 16:59:51 +0300
commitd0d440c0524c358571b7cd260a3e4d39820504b1 (patch)
treea15266b4b8b4083c9af9afae7b4f2388269d04ea
parentfa98785c18186c91f99047e24e38f8843a73e673 (diff)
downloadmate-system-monitor-d0d440c0524c358571b7cd260a3e4d39820504b1.tar.bz2
mate-system-monitor-d0d440c0524c358571b7cd260a3e4d39820504b1.tar.xz
memmaps: kill stupid periodic autoscrolling to the top of list
from https://git.gnome.org/browse/gnome-system-monitor/commit?id=ed696eba1438231e797774510a3449140f31fc9c
-rw-r--r--src/memmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memmaps.cpp b/src/memmaps.cpp
index a9939f3..de9c755 100644
--- a/src/memmaps.cpp
+++ b/src/memmaps.cpp
@@ -187,7 +187,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;
}
};