X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.hh;h=1ca46df72e8d2d19cca99d5e99377a6022f17323;hb=7db3ffecc980821ada3e805e2471716896e2410a;hp=51e2b213131195908e16ad49128b6981b634cf9a;hpb=b35dae95a5cdb902f1661b9572af47c3f55c975c;p=chaz%2Fopenbox diff --git a/src/bindings.hh b/src/bindings.hh index 51e2b213..1ca46df7 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -52,9 +52,9 @@ typedef struct KeyBindingTree { typedef struct ButtonBinding { Binding binding; - typedef std::list CallbackList; - CallbackList callback[NUM_MOUSE_ACTION]; + PyObject *callback[NUM_MOUSE_ACTION]; ButtonBinding() : binding(0, 0) { + for(int i=0; i