diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-10 19:31:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-10 19:31:44 +0000 |
| commit | 3dde884d380ca1103c39019049bc9864054100e9 (patch) | |
| tree | 79b860ae486d5572c09c56491740d54d54c323b5 /src | |
| parent | a0333b52d8db7e68a440236b132ffd3b7629872f (diff) | |
dont bother making a copy of the event to change its type
Diffstat (limited to 'src')
| -rw-r--r-- | src/actions.cc | 6 |
1 files 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); } } |
