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
|
ButtonRelease events, so instead we simply manufacture them here, so that
|
||||||
clicks/doubleclicks etc still work.
|
clicks/doubleclicks etc still work.
|
||||||
*/
|
*/
|
||||||
XButtonEvent ev = e;
|
//XButtonEvent ev = e;
|
||||||
ev.type = ButtonRelease;
|
//ev.type = ButtonRelease;
|
||||||
buttonReleaseHandler(ev);
|
buttonReleaseHandler(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue