From ae2aeb65cc8cf16944b02d1f8ed6ea6fc15de6ec Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 16 Feb 2019 11:56:44 +0100 Subject: [PATCH] rootston: cancel drag on invalid serial --- rootston/seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rootston/seat.c b/rootston/seat.c index 428787ef..f88e4efb 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -624,6 +624,7 @@ static void roots_seat_handle_request_start_drag(struct wl_listener *listener, wlr_log(WLR_DEBUG, "Ignoring start_drag request: " "could not validate pointer or touch serial %" PRIu32, event->serial); + wlr_data_source_destroy(event->drag->source); } static void roots_seat_handle_start_drag(struct wl_listener *listener,