X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Factions.cc;h=64e763d76c2838699fa7d80796a4c55dcc96c76e;hb=4721c53868187d10e3732cea63efa9fbd352178d;hp=b6f1dad8a1026c4ff00b75b72ef54acd5bdfcf92;hpb=66a26917a0631463df7f72c34cbeb39df466918a;p=chaz%2Fopenbox diff --git a/src/actions.cc b/src/actions.cc index b6f1dad8..64e763d7 100644 --- a/src/actions.cc +++ b/src/actions.cc @@ -56,11 +56,6 @@ void OBActions::buttonReleaseHandler(const XButtonEvent &e) OBWidget *w = dynamic_cast (Openbox::instance->findHandler(e.window)); - // run the RELEASE python hook - doCallback(Action_ButtonRelease, e.window, - (OBWidget::WidgetType)(w ? w->type():-1), - e.state, e.button, e.x_root, e.y_root, e.time); - // not for the button we're watching? if (_button != e.button) return; @@ -163,7 +158,7 @@ void OBActions::motionHandler(const XMotionEvent &e) // run the simple MOTION python hook for now... doCallback(Action_MouseMotion, e.window, (OBWidget::WidgetType)(w ? w->type():-1), - e.state, (unsigned)-1, e.x_root, e.y_root, e.time); + e.state, (unsigned)-1, x_root, y_root, e.time); } void OBActions::mapRequestHandler(const XMapRequestEvent &e)