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 9425bb2..88dd72a 100644 --- a/src/AttentionNoticeHandler.cc +++ b/src/AttentionNoticeHandler.cc | |||
@@ -82,7 +82,7 @@ void AttentionNoticeHandler::addAttention(Focusable &client) { | |||
82 | RefCount<Command<void> > cmd(new ToggleFrameFocusCmd(client)); | 82 | RefCount<Command<void> > cmd(new ToggleFrameFocusCmd(client)); |
83 | Timer *timer = new Timer(); | 83 | Timer *timer = new Timer(); |
84 | timer->setCommand(cmd); | 84 | timer->setCommand(cmd); |
85 | timer->setTimeout(0, **timeout_res * 1000); | 85 | timer->setTimeout(**timeout_res); |
86 | timer->fireOnce(false); // will repeat until window has focus | 86 | timer->fireOnce(false); // will repeat until window has focus |
87 | timer->start(); | 87 | timer->start(); |
88 | 88 | ||