mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:45:59 +01:00
parent
f687105eff
commit
1bae19ce85
1 changed files with 4 additions and 2 deletions
|
@ -85,8 +85,10 @@ void CWLDataOfferResource::sendData() {
|
|||
if (!source)
|
||||
return;
|
||||
|
||||
resource->sendSourceActions(7);
|
||||
resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
|
||||
if (resource->version() >= 3) {
|
||||
resource->sendSourceActions(7);
|
||||
resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
|
||||
}
|
||||
|
||||
for (auto& m : source->mimes()) {
|
||||
LOGM(LOG, " | offer {:x} supports mime {}", (uintptr_t)this, m);
|
||||
|
|
Loading…
Reference in a new issue