summaryrefslogtreecommitdiff
path: root/src/protocols/core/DataDevice.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-02 15:58:28 +0100
committervaxerski <vaxry@vaxry.net>2025-01-02 15:58:28 +0100
commit94381e59991824ab9a5a9cb5fe701181fbcbc81d (patch)
tree858e16332037418c33a5d2570c45b2111a4fc8ab /src/protocols/core/DataDevice.cpp
parent42fd366046d67c52449001b6a6e9b64427aee712 (diff)
dnd/seat: avoid sending button events during a dnd op
fixes #8781
Diffstat (limited to 'src/protocols/core/DataDevice.cpp')
-rw-r--r--src/protocols/core/DataDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/DataDevice.cpp b/src/protocols/core/DataDevice.cpp
index 9fc49a44..6ad17d7b 100644
--- a/src/protocols/core/DataDevice.cpp
+++ b/src/protocols/core/DataDevice.cpp
@@ -808,5 +808,5 @@ void CWLDataDeviceProtocol::renderDND(PHLMONITOR pMonitor, timespec* when) {
}
bool CWLDataDeviceProtocol::dndActive() {
- return dnd.currentSource && dnd.mouseButton /* test a member of the state to ensure it's also present */;
+ return dnd.currentSource;
}