aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 474f839..9974bc5 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -419,7 +419,9 @@ void FluxboxWindow::init() {
419 419
420 updateMWMHintsFromClient(*m_client); 420 updateMWMHintsFromClient(*m_client);
421 421
422 m_timer.setTimeout(fluxbox.getAutoRaiseDelay()); 422 m_timer.setTimeout(*fluxbox.getAutoRaiseDelayResource());
423 join(fluxbox.getAutoRaiseDelayResource().modifiedSig(), FbTk::MemFun(m_timer,
424 static_cast<void (FbTk::Timer::*)(time_t)>(&FbTk::Timer::setTimeout) ) );
423 FbTk::RefCount<FbTk::Command<void> > raise_cmd(new FbTk::SimpleCommand<FluxboxWindow>(*this, 425 FbTk::RefCount<FbTk::Command<void> > raise_cmd(new FbTk::SimpleCommand<FluxboxWindow>(*this,
424 &FluxboxWindow::raise)); 426 &FluxboxWindow::raise));
425 m_timer.setCommand(raise_cmd); 427 m_timer.setCommand(raise_cmd);
@@ -1053,8 +1055,6 @@ void FluxboxWindow::reconfigure() {
1053 1055
1054 moveResize(frame().x(), frame().y(), frame().width(), frame().height()); 1056 moveResize(frame().x(), frame().y(), frame().width(), frame().height());
1055 1057
1056 m_timer.setTimeout(Fluxbox::instance()->getAutoRaiseDelay());
1057
1058 updateButtons(); 1058 updateButtons();
1059 1059
1060 frame().reconfigure(); 1060 frame().reconfigure();