]> Dogcows Code - chaz/openbox/blobdiff - src/bindings.cc
initialize _modal, its used before the window's type is checked
[chaz/openbox] / src / bindings.cc
index fcbff769f5e4945506d5460784f5a144c74ccdca..df1de3ecaa4032f848a998c749c76620c217c4e2 100644 (file)
@@ -241,7 +241,6 @@ bool Bindings::addKey(const StringVect &keylist, PyObject *callback)
 
   if (t) {
     // already bound to something
-    // XXX: look if callback is already bound to this key?
     t->callbacks.push_back(callback);
     destroytree(tree);
   } else {
@@ -261,7 +260,7 @@ bool Bindings::addKey(const StringVect &keylist, PyObject *callback)
   return true;
 }
 
-
+/*
 bool Bindings::removeKey(const StringVect &keylist, PyObject *callback)
 {
   assert(false); // XXX: function not implemented yet
@@ -295,7 +294,7 @@ bool Bindings::removeKey(const StringVect &keylist, PyObject *callback)
   }
   return false;
 }
-
+*/
 
 void Bindings::setResetKey(const std::string &key)
 {
This page took 0.020242 seconds and 4 git commands to generate.