X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.cc;h=9fd5612d2ce50830fbf1bebabc091f49acb742a3;hb=fa34e01daefdc856fc9ea79197c93623454253ea;hp=2994f5640376686b08060a922fb7d4325b97662e;hpb=345d957e1ea577480f807b892b73c3f52fe913d2;p=chaz%2Fopenbox diff --git a/src/bindings.cc b/src/bindings.cc index 2994f564..9fd5612d 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -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); } }