]> Dogcows Code - chaz/openbox/blobdiff - util/epist/keytree.cc
update the active iterator after moving the active window to the front of the list
[chaz/openbox] / util / epist / keytree.cc
index 6dcba312ccac832cd14128ea00b40d5a1e3447a0..009cb355ed26126cb800b7c575bb1e209928a438 100644 (file)
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
+#ifdef    HAVE_CONFIG_H
+#  include "../../config.h"
+#endif // HAVE_CONFIG_H
+
 #include "keytree.hh"
 #include "epist.hh"
 #include "config.hh"
@@ -220,7 +224,9 @@ void keytree::setCurrentNodeProps(Action::ActionType action, unsigned int mask,
 
 void keytree::initialize(void)
 {
-  int tval = _epist->getConfig()->getNumberValue(Config::chainTimeout);
+  int tval = 0;
+
+  _epist->getConfig()->getValue(Config::chainTimeout, tval);
   _timer = new BTimer(_epist, this);
 
   if (tval <= 0)
This page took 0.023484 seconds and 4 git commands to generate.