This commit is contained in:
Palanix 2021-08-21 02:22:12 +02:00
parent b21f9c6322
commit f1bdea3e84

2
seat.c
View file

@ -564,7 +564,7 @@ process_cursor_motion(struct cg_seat *seat, uint32_t time)
wlr_seat_pointer_notify_enter(wlr_seat, surface, sx, sy);
bool focus_changed = wlr_seat->pointer_state.focused_surface != surface;
if (!focus_changed && time > 0) {
if (!focus_changed && time > 0 || wlr_seat->drag) {
wlr_seat_pointer_notify_motion(wlr_seat, time, sx, sy);
}
}