contrib/depends/patches/qt/qtwayland-tabletevent-fix.patch
raw| 1 | diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp |
| 2 | index f435b953..068834c2 100644 |
| 3 | --- a/src/client/qwaylandinputdevice.cpp |
| 4 | +++ b/src/client/qwaylandinputdevice.cpp |
| 5 | @@ -609,8 +609,10 @@ void QWaylandInputDevice::setCursor(const QCursor *cursor, const QSharedPointer< |
| 6 | if (mPointer) |
| 7 | mPointer->updateCursor(); |
| 8 | |
| 9 | +#if QT_CONFIG(tabletevent) |
| 10 | if (mTabletSeat) |
| 11 | mTabletSeat->updateCursor(); |
| 12 | +#endif |
| 13 | } |
| 14 | #endif |
| 15 |