mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 03:05: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)
|
if (!source)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
resource->sendSourceActions(7);
|
if (resource->version() >= 3) {
|
||||||
resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
|
resource->sendSourceActions(7);
|
||||||
|
resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
|
||||||
|
}
|
||||||
|
|
||||||
for (auto& m : source->mimes()) {
|
for (auto& m : source->mimes()) {
|
||||||
LOGM(LOG, " | offer {:x} supports mime {}", (uintptr_t)this, m);
|
LOGM(LOG, " | offer {:x} supports mime {}", (uintptr_t)this, m);
|
||||||
|
|
Loading…
Reference in a new issue