rootston: cancel drag on invalid serial

master
emersion 6 years ago
parent 44ec3afb27
commit ae2aeb65cc
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -624,6 +624,7 @@ static void roots_seat_handle_request_start_drag(struct wl_listener *listener,
wlr_log(WLR_DEBUG, "Ignoring start_drag request: " wlr_log(WLR_DEBUG, "Ignoring start_drag request: "
"could not validate pointer or touch serial %" PRIu32, event->serial); "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, static void roots_seat_handle_start_drag(struct wl_listener *listener,

Loading…
Cancel
Save