all repos — openbox @ fc4885a3f4c2a023a6e64cce62fc5cde1667f2e9

openbox fork - make it a bit more like ryudo

compile fix
Dana Jansens danakj@orodu.net
commit

fc4885a3f4c2a023a6e64cce62fc5cde1667f2e9

parent

df0447ce6d57c6ece97e69fc0874595e4ac0ae75

1 files changed, 1 insertions(+), 1 deletions(-)

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

@@ -481,7 +481,7 @@ bool Bindings::addButton(const std::string &but, MouseContext::MC context,

MouseAction::MA action, PyObject *callback) { assert(context >= 0 && context < MouseContext::NUM_MOUSE_CONTEXT); - assert(action >= 0 && context < MouseContext::NUM_MOUSE_ACTION); + assert(action >= 0 && action < MouseAction::NUM_MOUSE_ACTION); Binding b(0,0); if (!translate(but, b, false))