aboutsummaryrefslogtreecommitdiff
path: root/util/fluxbox-generate_menu.in
diff options
context:
space:
mode:
authormathias <mathias>2005-06-30 08:38:53 (GMT)
committermathias <mathias>2005-06-30 08:38:53 (GMT)
commit66a241cc43b53c8a3e7d70b0c929c0d672bd65c7 (patch)
tree02f1f512420ebe21cfd030d4998e3a8bc3399660 /util/fluxbox-generate_menu.in
parenta5310fae340126b1e98a874067f5eec7ddd025be (diff)
downloadfluxbox-66a241cc43b53c8a3e7d70b0c929c0d672bd65c7.zip
fluxbox-66a241cc43b53c8a3e7d70b0c929c0d672bd65c7.tar.bz2
if we check the time only ever second we can get into trouble, eg:
assume its 12:34:56.99, displaying 12:34:56 takes some time and so its already 12:34:57 when we display 12:34:56. to fix that i set the time to check the clock to 0.01 seconds. that shouldnt hurt much since we only redraw the clock when the string has changed. a more complex approach would be to analyze the strftime-string and set the timeout accordingly. but i dont know if its really worth the effort and beeing a bit off schedule can happen too, just not as often as if you are in seconds mode.
Diffstat (limited to 'util/fluxbox-generate_menu.in')
0 files changed, 0 insertions, 0 deletions