summaryrefslogtreecommitdiff
path: root/src/devices/Tablet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/Tablet.cpp')
-rw-r--r--src/devices/Tablet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/Tablet.cpp b/src/devices/Tablet.cpp
index e4c399c9..faeb3d73 100644
--- a/src/devices/Tablet.cpp
+++ b/src/devices/Tablet.cpp
@@ -265,7 +265,7 @@ void CTabletTool::setSurface(SP<CWLSurfaceResource> surf) {
m_surface = surf;
if (surf) {
- m_listeners.destroySurface = surf->events.destroy.registerListener([this](std::any d) {
+ m_listeners.destroySurface = surf->m_events.destroy.registerListener([this](std::any d) {
PROTO::tablet->proximityOut(m_self.lock());
m_surface.reset();
m_listeners.destroySurface.reset();