fix(wayland): fix touch support by correctly setting driver data (#9486)

Co-authored-by: angel <1374600351@qq.com>
This commit is contained in:
HardFatal
2026-01-06 00:13:39 +08:00
committed by GitHub
parent b0a3bf199e
commit 345206c0ce
+1
View File
@@ -68,6 +68,7 @@ lv_indev_t * lv_wayland_touch_create(void)
lv_indev_t * indev = lv_indev_create();
lv_indev_set_type(indev, LV_INDEV_TYPE_POINTER);
lv_indev_set_read_cb(indev, touch_read);
lv_indev_set_driver_data(indev, lv_wl_ctx.seat.touch);
return indev;
}