From: Dana Jansens Date: Fri, 10 Jan 2003 19:31:44 +0000 (+0000) Subject: dont bother making a copy of the event to change its type X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3dde884d380ca1103c39019049bc9864054100e9;p=chaz%2Fopenbox dont bother making a copy of the event to change its type --- diff --git a/src/actions.cc b/src/actions.cc index 309323cc..15a3e6c2 100644 --- a/src/actions.cc +++ b/src/actions.cc @@ -95,9 +95,9 @@ void OBActions::buttonPressHandler(const XButtonEvent &e) ButtonRelease events, so instead we simply manufacture them here, so that clicks/doubleclicks etc still work. */ - XButtonEvent ev = e; - ev.type = ButtonRelease; - buttonReleaseHandler(ev); + //XButtonEvent ev = e; + //ev.type = ButtonRelease; + buttonReleaseHandler(e); } }