singlerelease is actually used
This commit is contained in:
parent
8023bb5bfc
commit
f8b06eb688
2 changed files with 0 additions and 2 deletions
|
@ -240,7 +240,6 @@ bool WaylandRemoteInput::handlePacket(const NetworkPacket &np)
|
|||
// For drag'n drop
|
||||
s_session->iface->NotifyPointerButton(s_session->m_xdpPath, {}, BTN_LEFT, 1);
|
||||
} else if (isSingleRelease) {
|
||||
// For drag'n drop. NEVER USED (release is done by tapping, which actually triggers a isSingleClick). Kept here for future-proofness.
|
||||
s_session->iface->NotifyPointerButton(s_session->m_xdpPath, {}, BTN_LEFT, 0);
|
||||
} else if (isScroll) {
|
||||
s_session->iface->NotifyPointerAxis(s_session->m_xdpPath, {}, dx, dy);
|
||||
|
|
|
@ -131,7 +131,6 @@ bool X11RemoteInput::handlePacket(const NetworkPacket &np)
|
|||
// For drag'n drop
|
||||
XTestFakeButtonEvent(display, mainMouseButton, True, 0);
|
||||
} else if (isSingleRelease) {
|
||||
// For drag'n drop. NEVER USED (release is done by tapping, which actually triggers a isSingleClick). Kept here for future-proofness.
|
||||
XTestFakeButtonEvent(display, mainMouseButton, False, 0);
|
||||
} else if (isScroll) {
|
||||
if (dy < 0) {
|
||||
|
|
Loading…
Reference in a new issue