feather/contrib/depends/patches/qt/qtwayland-tabletevent-fix.patch
2024-12-07 17:57:46 +01:00

15 lines
466 B
Diff

diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
index f435b953..068834c2 100644
--- a/src/client/qwaylandinputdevice.cpp
+++ b/src/client/qwaylandinputdevice.cpp
@@ -609,8 +609,10 @@ void QWaylandInputDevice::setCursor(const QCursor *cursor, const QSharedPointer<
if (mPointer)
mPointer->updateCursor();
+#if QT_CONFIG(tabletevent)
if (mTabletSeat)
mTabletSeat->updateCursor();
+#endif
}
#endif