dont bother making a copy of the event to change its type
This commit is contained in:
parent
a0333b52d8
commit
3dde884d38
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue