]> Dogcows Code - chaz/openbox/blobdiff - src/bindings.cc
dont build the otk wrappers for now
[chaz/openbox] / src / bindings.cc
index 2994f5640376686b08060a922fb7d4325b97662e..9fd5612d2ce50830fbf1bebabc091f49acb742a3 100644 (file)
@@ -512,7 +512,7 @@ void OBBindings::grabButtons(bool grab, OBClient *client)
   }
 }
 
-void OBBindings::fireButton(ButtonData *data)
+void OBBindings::fireButton(MouseData *data)
 {
   if (data->context == MC_Window) {
     // these are grabbed in Sync mode to allow the press to be normal to the
@@ -527,7 +527,7 @@ void OBBindings::fireButton(ButtonData *data)
       CallbackList::iterator c_it,c_end = (*it)->callbacks[data->action].end();
       for (c_it = (*it)->callbacks[data->action].begin();
            c_it != c_end; ++c_it)
-        python_callback(*c_it, (PyObject*)data);
+        python_callback(*c_it, data);
     }
 }
 
This page took 0.023117 seconds and 4 git commands to generate.