data-device: abort drag on unaccepted offers

fixes #6509
This commit is contained in:
Vaxry 2024-06-15 17:33:21 +02:00
parent fb82f6bcd7
commit 46ef6653be
2 changed files with 27 additions and 2 deletions

View file

@ -175,6 +175,7 @@ class CWLDataDeviceProtocol : public IWaylandProtocol {
void dropDrag();
void completeDrag();
void resetDndState();
bool wasDragSuccessful();
//
SP<CWLDataDeviceResource> dataDeviceForClient(wl_client*);