From f1bdea3e8450a9f83a781d36a7c56f4dd672971b Mon Sep 17 00:00:00 2001 From: Palanix Date: Sat, 21 Aug 2021 02:22:12 +0200 Subject: [PATCH] fix drag --- seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seat.c b/seat.c index e8f0d92..ac950aa 100644 --- a/seat.c +++ b/seat.c @@ -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); } }