diff options
| author | vaxerski <vaxry@vaxry.net> | 2025-01-02 15:58:28 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2025-01-02 15:58:28 +0100 |
| commit | 94381e59991824ab9a5a9cb5fe701181fbcbc81d (patch) | |
| tree | 858e16332037418c33a5d2570c45b2111a4fc8ab /src/protocols/core/DataDevice.cpp | |
| parent | 42fd366046d67c52449001b6a6e9b64427aee712 (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.cpp | 2 |
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; } |
