From 281f2551060a64c6c05e8f7f7a28c4def7158ceb Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 15 Aug 2023 17:52:54 +0200 Subject: QWaylandDrag: Call into super class QBasicDrag::drop It's where, among other things, the override mouse cursor is reset. Otherwise the cursor stays a dragging hand indefinitely. Change-Id: I9e7a44e09d5806cd64e66ba7a7c96f2d24ec97fc Reviewed-by: David Edmundson (cherry picked from commit bdec910d775720dc2cd73833bfe9eefc73518dc8) Reviewed-by: Qt Cherry-pick Bot --- src/client/qwaylanddnd.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/qwaylanddnd.cpp b/src/client/qwaylanddnd.cpp index ff89069fc..5ea1e0d33 100644 --- a/src/client/qwaylanddnd.cpp +++ b/src/client/qwaylanddnd.cpp @@ -59,10 +59,7 @@ void QWaylandDrag::move(const QPoint &globalPos, Qt::MouseButtons b, Qt::Keyboar void QWaylandDrag::drop(const QPoint &globalPos, Qt::MouseButtons b, Qt::KeyboardModifiers mods) { - Q_UNUSED(globalPos); - Q_UNUSED(b); - Q_UNUSED(mods); - // Do nothing + QBasicDrag::drop(globalPos, b, mods); } void QWaylandDrag::endDrag() -- cgit v1.2.3