]> Dogcows Code - chaz/openbox/blobdiff - src/Slit.cc
make a new autoRaiseDelay value take effect without having to restart
[chaz/openbox] / src / Slit.cc
index f6c87aa93ba33d04bbe60f34c29f13cf6cd75ed2..66cdc583809a5eaf5c14af1e35d92a7efbd250f0 100644 (file)
@@ -54,7 +54,7 @@ Slit::Slit(BScreen &scr, Resource &conf) : openbox(scr.getOpenbox()),
   frame.window = frame.pixmap = None;
 
   timer = new BTimer(openbox, *this);
-  timer->setTimeout(openbox.getAutoRaiseDelay());
+  // the time out is set in ::reconfigure()
   timer->fireOnce(True);
 
   slitmenu = new Slitmenu(*this);
@@ -326,6 +326,8 @@ void Slit::load() {
 }
 
 void Slit::reconfigure(void) {
+  timer->setTimeout(openbox.getAutoRaiseDelay());
+
   frame.area.setSize(0, 0);
   slitClientList::const_iterator it;
 
This page took 0.023032 seconds and 4 git commands to generate.