From e05d5f7934ce27893f900627fbd06b1679d4c0ad Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 2 Jan 2003 22:58:32 +0000 Subject: kill button release events --- src/actions.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/actions.cc') 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) -- cgit v1.2.3