aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Timer.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-05 06:28:47 (GMT)
committerrathnor <rathnor>2003-10-05 06:28:47 (GMT)
commitc516aa13a134ff311a1ce56976c030ba016bcfda (patch)
tree08b1b090383bc391362bd2aa29d742521c24e68e /src/FbTk/Timer.cc
parentfa4328d8620959dce8a53b40c743fba691cfe471 (diff)
downloadfluxbox_pavel-c516aa13a134ff311a1ce56976c030ba016bcfda.zip
fluxbox_pavel-c516aa13a134ff311a1ce56976c030ba016bcfda.tar.bz2
fix reading of auto raise delay
Diffstat (limited to 'src/FbTk/Timer.cc')
-rw-r--r--src/FbTk/Timer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc
index 1597fa3..efecc5e 100644
--- a/src/FbTk/Timer.cc
+++ b/src/FbTk/Timer.cc
@@ -60,7 +60,7 @@ Timer::~Timer() {
60} 60}
61 61
62 62
63void Timer::setTimeout(long t) { 63void Timer::setTimeout(time_t t) {
64 m_timeout.tv_sec = t / 1000; 64 m_timeout.tv_sec = t / 1000;
65 m_timeout.tv_usec = t; 65 m_timeout.tv_usec = t;
66 m_timeout.tv_usec -= (m_timeout.tv_sec * 1000); 66 m_timeout.tv_usec -= (m_timeout.tv_sec * 1000);