diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-02 22:58:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-02 22:58:32 +0000 |
| commit | e05d5f7934ce27893f900627fbd06b1679d4c0ad (patch) | |
| tree | 553ced7070d991c96016e5dca53e6068991602e4 /src/actions.cc | |
| parent | 54da8e404b0baa8b4521ce14c8eb9a28ea64e7f9 (diff) | |
kill button release events
Diffstat (limited to 'src/actions.cc')
| -rw-r--r-- | src/actions.cc | 7 |
1 files changed, 1 insertions, 6 deletions
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<OBWidget*> (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) |
