mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 13:05:58 +01:00
data-device: don't send default action of move
gtk doesn't like it?
This commit is contained in:
parent
5ee4b19691
commit
4dbdb556fe
1 changed files with 1 additions and 3 deletions
|
@ -82,10 +82,8 @@ void CWLDataOfferResource::sendData() {
|
||||||
if (!source)
|
if (!source)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (resource->version() >= 3) {
|
if (resource->version() >= 3)
|
||||||
resource->sendSourceActions(7);
|
resource->sendSourceActions(7);
|
||||||
resource->sendAction(WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto const& m : source->mimes()) {
|
for (auto const& 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