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.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocols/core/DataDevice.hpp b/src/protocols/core/DataDevice.hpp
index 8b52933e..b4ad378f 100644
--- a/src/protocols/core/DataDevice.hpp
+++ b/src/protocols/core/DataDevice.hpp
@@ -111,8 +111,10 @@ class CWLDataDeviceResource : public IDataDevice {
WP<CWLDataDeviceResource> m_self;
private:
- SP<CWlDataDevice> m_resource;
- wl_client* m_client = nullptr;
+ SP<CWlDataDevice> m_resource;
+ wl_client* m_client = nullptr;
+
+ WP<CWLSurfaceResource> m_entered;
friend class CWLDataDeviceProtocol;
};