diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2014-05-12 08:22:49 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2014-05-12 08:22:49 (GMT) |
commit | 913244789fac779d8c4ce719d3e9534312feacc2 (patch) | |
tree | bcd0065e3c3b7bb977a6b594acfb0295c2dd86b7 /nls/bg_BG/Translation.m | |
parent | 9b40943deaac2c72d3cc1c6ec4645a32562ab810 (diff) | |
download | fluxbox-913244789fac779d8c4ce719d3e9534312feacc2.zip fluxbox-913244789fac779d8c4ce719d3e9534312feacc2.tar.bz2 |
fix clocktool lagging behind and skipping seconds
from time to time (...) time() might be off to gettimeofday() by a
second. the reason for this is that time() is usually implemented
by just returning the field 'second' of the struct that represents
the clock inside the kernel. gettimeofday() on the other hand also
takes the 'fraction' field (mostly 'nanoseconds') into account and
thus is closer to the current time than time().
the result of using time() was a perceived 'lag', sometimes the
clocktool even skipped a second. by using FbTk::FbTime()::system()
instead fixes the issue.
Diffstat (limited to 'nls/bg_BG/Translation.m')
0 files changed, 0 insertions, 0 deletions