summaryrefslogtreecommitdiff
path: root/src/devices/TouchDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/TouchDevice.cpp')
-rw-r--r--src/devices/TouchDevice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/TouchDevice.cpp b/src/devices/TouchDevice.cpp
index e8e52dc2..64c521a2 100644
--- a/src/devices/TouchDevice.cpp
+++ b/src/devices/TouchDevice.cpp
@@ -27,6 +27,7 @@ CTouchDevice::CTouchDevice(wlr_touch* touch_) : touch(touch_) {
.timeMs = E->time_msec,
.touchID = E->touch_id,
.pos = {E->x, E->y},
+ .device = self.lock(),
});
}, this, "CTouchDevice");