parent
71dc9f6128
commit
52ee7a8748
1 changed files with 8 additions and 6 deletions
|
|
@ -731,6 +731,7 @@ bool CWLDataDeviceProtocol::wasDragSuccessful() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_XWAYLAND
|
#ifndef NO_XWAYLAND
|
||||||
|
if (g_pXWayland->pWM) {
|
||||||
for (auto const& o : g_pXWayland->pWM->dndDataOffers) {
|
for (auto const& o : g_pXWayland->pWM->dndDataOffers) {
|
||||||
if (o->dead || !o->source || !o->source->hasDnd())
|
if (o->dead || !o->source || !o->source->hasDnd())
|
||||||
continue;
|
continue;
|
||||||
|
|
@ -740,6 +741,7 @@ bool CWLDataDeviceProtocol::wasDragSuccessful() {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue