mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
rootston: cancel drag on invalid serial
This commit is contained in:
parent
44ec3afb27
commit
ae2aeb65cc
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue