diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-13 13:18:38 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-18 22:43:21 +0100 |
commit | 27b8d81ed26098f9b7dd7e0feb5d8b11fdda4288 (patch) | |
tree | c3cd08f77988b1d0180fefce4a3255af7a7d4642 /Process.c | |
parent | 26993d2d2b2be391adbfaa2ee53ee3e77f323b28 (diff) |
ProcessList: save scan time in millisecond
The delay is saved in deciseconds, use a bigger resolution to avoid
timing irregularities.
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -454,7 +454,7 @@ void Process_toggleTag(Process* this) { bool Process_isNew(const Process* this) { assert(this->processList); if (this->processList->scanTs >= this->seenTs) { - return this->processList->scanTs - this->seenTs <= this->processList->settings->highlightDelaySecs; + return this->processList->scanTs - this->seenTs <= 1000 * this->processList->settings->highlightDelaySecs; } return false; } |