Files
localrepo/dev-qt/qtwayland/files/qtwayland-6.8.2-QTBUG-127821.patch
Olivier van der Toorn d5c461ec31 Add dev-qt from an older version of the gentoo repo
Qt5 has been removed, we restore it since we still use it.
2026-07-03 09:51:10 +02:00

20 lines
1.2 KiB
Diff

https://bugreports.qt.io/browse/QTBUG-127821
https://codereview.qt-project.org/c/qt/qtwayland/+/623667
--- a/src/client/qwaylandinputdevice.cpp
+++ b/src/client/qwaylandinputdevice.cpp
@@ -1140,8 +1140,10 @@
// If the window has been destroyed, we still need to report an up event, but it can't
// be handled by the destroyed window (obviously), so send the event here instead.
- QWindowSystemInterface::handleMouseEvent(nullptr, event->timestamp, event->local,
- event->global, event->buttons,
- event->button, event->type,
- event->modifiers);// , Qt::MouseEventSource source = Qt::MouseEventNotSynthesized);
+ QWindowSystemInterface::handleMouseEvent(
+ nullptr, event->timestamp,
+ QPointingDevice::primaryPointingDevice(mParent->seatname()), event->local,
+ event->global, event->buttons, event->button, event->type,
+ event->modifiers); // , Qt::MouseEventSource source =
+ // Qt::MouseEventNotSynthesized);
}
delete mFrameData.event;