summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2023-08-15 17:52:54 +0200
committerKai Uwe Broulik <kde@privat.broulik.de>2023-08-24 06:24:51 +0000
commit85b0902be9e7cb5476019dd9fac55c3af90b6e2c (patch)
treea6df15422daf70d82f0c3d80f6d552ece7e14c57
parent9c8d69a371ee054cb393a592590dadd98f9e3b26 (diff)
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 <davidedmundson@kde.org> (cherry picked from commit bdec910d775720dc2cd73833bfe9eefc73518dc8)
-rw-r--r--src/client/qwaylanddnd.cpp5
1 files changed, 1 insertions, 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()