aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Observer.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-01-19 19:19:45 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-01-19 19:19:45 (GMT)
commita2f673ccaff7d6562c58cf2453ffd6afb86031fe (patch)
tree5699bebb1c1c6aff013f023b07740c5ed7d0e8a9 /src/FbTk/Observer.hh
parente102544c2d05b3bce65d3f6b76cf4a4450b1899a (diff)
downloadfluxbox-a2f673ccaff7d6562c58cf2453ffd6afb86031fe.zip
fluxbox-a2f673ccaff7d6562c58cf2453ffd6afb86031fe.tar.bz2
optimization of how often fluxbox checks for the system time to display it in the clocktool
the idea (as a first patch) for this change was provided by Thomas Habets (thomas at habets pp se). instead of having a fixed interval each second, we now calculate the next point in time based upon the format string used by the clocktool to render the time. as long as no seconds are shown fluxbox now wakes up once every minute.
Diffstat (limited to 'src/FbTk/Observer.hh')
0 files changed, 0 insertions, 0 deletions