dont bother making a copy of the event to change its type

This commit is contained in:
Dana Jansens 2003-01-10 19:31:44 +00:00
parent a0333b52d8
commit 3dde884d38

View file

@ -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);
}
}