diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-01-19 19:19:45 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-01-19 19:19:45 (GMT) |
commit | a2f673ccaff7d6562c58cf2453ffd6afb86031fe (patch) | |
tree | 5699bebb1c1c6aff013f023b07740c5ed7d0e8a9 /src/FbTk/BoolMenuItem.hh | |
parent | e102544c2d05b3bce65d3f6b76cf4a4450b1899a (diff) | |
download | fluxbox-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/BoolMenuItem.hh')
0 files changed, 0 insertions, 0 deletions