rootston: cancel drag on invalid serial

This commit is contained in:
emersion 2019-02-16 11:56:44 +01:00
parent 44ec3afb27
commit ae2aeb65cc
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 0 deletions

View File

@ -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,