diff options
author | rathnor <rathnor> | 2003-10-05 06:28:47 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-10-05 06:28:47 (GMT) |
commit | c516aa13a134ff311a1ce56976c030ba016bcfda (patch) | |
tree | 08b1b090383bc391362bd2aa29d742521c24e68e /src/FbTk | |
parent | fa4328d8620959dce8a53b40c743fba691cfe471 (diff) | |
download | fluxbox_lack-c516aa13a134ff311a1ce56976c030ba016bcfda.zip fluxbox_lack-c516aa13a134ff311a1ce56976c030ba016bcfda.tar.bz2 |
fix reading of auto raise delay
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Timer.cc | 2 | ||||
-rw-r--r-- | src/FbTk/Timer.hh | 2 |
2 files changed, 2 insertions, 2 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 | ||
63 | void Timer::setTimeout(long t) { | 63 | void 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); |
diff --git a/src/FbTk/Timer.hh b/src/FbTk/Timer.hh index 961d4d7..5949b73 100644 --- a/src/FbTk/Timer.hh +++ b/src/FbTk/Timer.hh | |||
@@ -59,7 +59,7 @@ public: | |||
59 | 59 | ||
60 | inline void fireOnce(bool once) { m_once = once; } | 60 | inline void fireOnce(bool once) { m_once = once; } |
61 | /// set timeout | 61 | /// set timeout |
62 | void setTimeout(long val); | 62 | void setTimeout(time_t val); |
63 | /// set timeout | 63 | /// set timeout |
64 | void setTimeout(timeval val); | 64 | void setTimeout(timeval val); |
65 | void setCommand(RefCount<Command> &cmd); | 65 | void setCommand(RefCount<Command> &cmd); |