summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-01 16:53:47 +0300
committermonsta <[email protected]>2015-12-01 17:04:40 +0300
commitc0ad3dea7dba400bcb4cda14d0d1d07d73a22d58 (patch)
tree7060ca09da21bcd747beb38264ca38375a07ccbb /src
parent8ebbe78fe9e499b6c74abddb855cdac3b89cb94b (diff)
downloadmate-system-monitor-c0ad3dea7dba400bcb4cda14d0d1d07d73a22d58.tar.bz2
mate-system-monitor-c0ad3dea7dba400bcb4cda14d0d1d07d73a22d58.tar.xz
memmaps: kill stupid periodic autoscrolling to the top of list
from https://git.gnome.org/browse/gnome-system-monitor/commit?id=ed696eba1438231e797774510a3449140f31fc9c
Diffstat (limited to 'src')
-rw-r--r--src/memmaps.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
};