aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-09-14 23:36:06 +0100
committerVaxry <[email protected]>2024-09-14 23:36:06 +0100
commit4dbdb556fe441506ec5cf129c65b14e514dbcc5a (patch)
tree2e7d86e9bf718817b73be130d56f984a83a491a5 /src/protocols
parent5ee4b19691f413072f6877940ed709774333f84b (diff)
downloadHyprland-4dbdb556fe441506ec5cf129c65b14e514dbcc5a.tar.gz
Hyprland-4dbdb556fe441506ec5cf129c65b14e514dbcc5a.zip
data-device: don't send default action of move
gtk doesn't like it?
Diffstat (limited to 'src/protocols')
-rw-r--r--src/protocols/core/DataDevice.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/protocols/core/DataDevice.cpp b/src/protocols/core/DataDevice.cpp
index 43a63949..eac80a83 100644
--- a/src/protocols/core/DataDevice.cpp
+++ b/src/protocols/core/DataDevice.cpp
@@ -82,10 +82,8 @@ void CWLDataOfferResource::sendData() {
if (!source)
return;
- if (resource->version() >= 3) {
+ if (resource->version() >= 3)
resource->sendSourceActions(7);
- resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
- }
for (auto const& m : source->mimes()) {
LOGM(LOG, " | offer {:x} supports mime {}", (uintptr_t)this, m);