summaryrefslogtreecommitdiff
path: root/src/protocols/core/DataDevice.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/core/DataDevice.hpp')
-rw-r--r--src/protocols/core/DataDevice.hpp3
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);