aboutsummaryrefslogtreecommitdiff
path: root/data/styles
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-02-14 18:58:14 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-02-14 18:58:28 (GMT)
commitec7fe513c8ca241836fab4632fc56faedd0f1863 (patch)
tree5730015ada46c7f64952fd57edefca50674979fc /data/styles
parentac27c8cb4235b548ac1d1a5d5472d04a198bddf2 (diff)
downloadfluxbox-ec7fe513c8ca241836fab4632fc56faedd0f1863.zip
fluxbox-ec7fe513c8ca241836fab4632fc56faedd0f1863.tar.bz2
Trigger ClockTool every second, independent of the format string
It's hard to hit right moment to update the clock correctly: Either we are a bit too early and the 'old time' is the same as the 'new time' and the clock looks 'a bit off' or we are too late and the clock is 'a bit off'. This is especially the case for format strings which do not show the second and thus are updated only at the full minute (see bug #1082): if fluxbox does not update the clock 'now' it would do it one minute later and thus the clock might show the wrong time for roughly 1 minute. Instead of coming up with something immensely clever we just trigger the ClockTool every second. If no update of the shown time is needed fluxbox won't do anything. Some minor code reordering as byproduct.
Diffstat (limited to 'data/styles')
0 files changed, 0 insertions, 0 deletions