diff --git a/src/input/touch.c b/src/input/touch.c index 683490f0..4c1acc22 100644 --- a/src/input/touch.c +++ b/src/input/touch.c @@ -24,7 +24,10 @@ static struct wlr_surface* touch_get_coords(struct seat *seat, struct wlr_touch *touch, double x, double y, double *x_offset, double *y_offset) { - /* Fall out if mouse emulation is set */ + /* Do not return a surface when mouse emulation is enforced. Not + * having a surface will trigger the fallback to cursor move/button + * emulation in the touch signal handlers. + */ struct touch_config_entry *config_entry = touch_find_config_for_device(touch->base.name); if (config_entry && config_entry->force_mouse_emulation) {