wlr_drag: drag motion signal also needs to be sent

Signed-off-by: xurui <xurui@kylinos.cn>
This commit is contained in:
xurui 2025-08-07 11:06:46 +08:00 committed by Simon Zeni
parent d1c88e9497
commit aaf82ee332

View file

@ -308,6 +308,14 @@ static void drag_handle_touch_motion(struct wlr_seat_touch_grab *grab,
wl_fixed_from_double(point->sx),
wl_fixed_from_double(point->sy));
}
struct wlr_drag_motion_event event = {
.drag = drag,
.time = time,
.sx = point->sx,
.sy = point->sy,
};
wl_signal_emit_mutable(&drag->events.motion, &event);
}
}