diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-01-24 13:37:23 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-01-24 13:37:30 +0000 |
| commit | 57a39984dddd00fd1aca436e149b7566e5e48d95 (patch) | |
| tree | cf22f222bc6bd6525415dd3b33f7274611f87cc6 /src/protocols/core/DataDevice.hpp | |
| parent | 944e36ea2e71db20cf3f8b2e5cbf978a5bf5268b (diff) | |
input: abord dnd op on escape pressed
ref #9154
Diffstat (limited to 'src/protocols/core/DataDevice.hpp')
| -rw-r--r-- | src/protocols/core/DataDevice.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocols/core/DataDevice.hpp b/src/protocols/core/DataDevice.hpp index 5101862e..d8bc2b9c 100644 --- a/src/protocols/core/DataDevice.hpp +++ b/src/protocols/core/DataDevice.hpp @@ -144,6 +144,9 @@ class CWLDataDeviceProtocol : public IWaylandProtocol { // TODO: move handling to seatmgr bool dndActive(); + // called on an escape key pressed, for moments where it gets stuck + void abortDndIfPresent(); + private: void destroyResource(CWLDataDeviceManagerResource* resource); void destroyResource(CWLDataDeviceResource* resource); |
