all repos — openbox @ 4147215afa51dd79cbc474a79478deff4ca9ad71

openbox fork - make it a bit more like ryudo

rm a XXX.. comment it out :)
Dana Jansens danakj@orodu.net
commit

4147215afa51dd79cbc474a79478deff4ca9ad71

parent

0571837e50a15b61be008b55973f0ada069d4f77

3 files changed, 10 insertions(+), 9 deletions(-)

jump to
M src/bindings.ccsrc/bindings.cc

@@ -241,7 +241,6 @@ }

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 @@

return true; } - +/* bool Bindings::removeKey(const StringVect &keylist, PyObject *callback) { assert(false); // XXX: function not implemented yet

@@ -295,7 +294,7 @@ }

} return false; } - +*/ void Bindings::setResetKey(const std::string &key) {
M src/bindings.hhsrc/bindings.hh

@@ -103,12 +103,12 @@ @return true if the binding could be added; false if it could not.

*/ bool addKey(const StringVect &keylist, PyObject *callback); - //! Removes a key binding - /*! - @return The callbackid of the binding, or '< 0' if there was no binding to - be removed. - */ - bool removeKey(const StringVect &keylist, PyObject *callback); + ////! Removes a key binding + ///*! + // @return The callbackid of the binding, or '< 0' if there was no binding to + // be removed. + //*/ + //bool removeKey(const StringVect &keylist, PyObject *callback); //! Removes all key bindings void removeAllKeys();
M src/python.ccsrc/python.cc

@@ -189,6 +189,7 @@ }

Py_INCREF(Py_None); return Py_None; } +/* PyObject *kunbind(PyObject *keylist, PyObject *func) { if (!PyList_Check(keylist)) {

@@ -217,6 +218,7 @@ return NULL;

} Py_INCREF(Py_None); return Py_None; } +*/ void kunbind_all() {