diff options
Diffstat (limited to 'src/AttentionNoticeHandler.cc')
-rw-r--r-- | src/AttentionNoticeHandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AttentionNoticeHandler.cc b/src/AttentionNoticeHandler.cc index 0aaf266..1bb28b2 100644 --- a/src/AttentionNoticeHandler.cc +++ b/src/AttentionNoticeHandler.cc | |||
@@ -81,7 +81,7 @@ void AttentionNoticeHandler::addAttention(Focusable &client) { | |||
81 | RefCount<Command<void> > cmd(new ToggleFrameFocusCmd(client)); | 81 | RefCount<Command<void> > cmd(new ToggleFrameFocusCmd(client)); |
82 | Timer *timer = new Timer(); | 82 | Timer *timer = new Timer(); |
83 | timer->setCommand(cmd); | 83 | timer->setCommand(cmd); |
84 | timer->setTimeout(**timeout_res); | 84 | timer->setTimeout(**timeout_res * FbTk::FbTime::IN_MILLISECONDS); |
85 | timer->fireOnce(false); // will repeat until window has focus | 85 | timer->fireOnce(false); // will repeat until window has focus |
86 | timer->start(); | 86 | timer->start(); |
87 | 87 | ||