]> Dogcows Code - chaz/openbox/blobdiff - src/bindings.hh
you can bind buttons already about, and itll replace them
[chaz/openbox] / src / bindings.hh
index 5d1df29b97e6c9a8b4344c698208df1ac2986fc1..1ca46df72e8d2d19cca99d5e99377a6022f17323 100644 (file)
@@ -52,9 +52,9 @@ typedef struct KeyBindingTree {
 
 typedef struct ButtonBinding {
   Binding binding;
-  typedef std::list<PyObject*> CallbackList;
-  CallbackList callback[NUM_MOUSE_ACTION];
+  PyObject *callback[NUM_MOUSE_ACTION];
   ButtonBinding() : binding(0, 0) {
+    for(int i=0; i<NUM_MOUSE_ACTION; ++i) callback[i] = 0;
   }
 };
 
This page took 0.020152 seconds and 4 git commands to generate.