Skip to content
Snippets Groups Projects
Commit a21846b8 authored by Laszlo Agocs's avatar Laszlo Agocs Committed by Samuel Rødal
Browse files

Send mouse release generated from TouchCancel to the proper window


Change-Id: I3d0ab79eb261de4d22c6aadf0672f5c84ff3533e
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@nokia.com>
parent a6ba08ef
No related branches found
No related tags found
No related merge requests found
...@@ -198,7 +198,7 @@ void QWaylandTouchExtension::touchCanceled() ...@@ -198,7 +198,7 @@ void QWaylandTouchExtension::touchCanceled()
mTouchPoints.clear(); mTouchPoints.clear();
mPrevTouchPoints.clear(); mPrevTouchPoints.clear();
if (mMouseSourceId != -1) if (mMouseSourceId != -1)
QWindowSystemInterface::handleMouseEvent(0, mTimestamp, mLastMouseLocal, mLastMouseGlobal, Qt::NoButton); QWindowSystemInterface::handleMouseEvent(mTargetWindow, mTimestamp, mLastMouseLocal, mLastMouseGlobal, Qt::NoButton);
} }
void QWaylandTouchExtension::handle_configure(void *data, wl_touch_extension *ext, uint32_t flags) void QWaylandTouchExtension::handle_configure(void *data, wl_touch_extension *ext, uint32_t flags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment