mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-qt/qtwayland: backport fix for QTBUG-127821
Change seems trivial enough for straight-to-stable (hopefully). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
19
dev-qt/qtwayland/files/qtwayland-6.8.2-QTBUG-127821.patch
Normal file
19
dev-qt/qtwayland/files/qtwayland-6.8.2-QTBUG-127821.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
@@ -49,6 +49,7 @@ CMAKE_SKIP_TESTS=(
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.8.0-wayland.xml-1.23.0.patch
|
||||
"${FILESDIR}"/${PN}-6.8.2-QTBUG-127821.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
Reference in New Issue
Block a user