From 3dde884d380ca1103c39019049bc9864054100e9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 10 Jan 2003 19:31:44 +0000 Subject: [PATCH] dont bother making a copy of the event to change its type --- src/actions.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } } -- 2.45.2