data-device: add seat.drag_source

This commit is contained in:
emersion 2018-03-29 11:33:40 -04:00
parent 5dc5f446a8
commit 743466d475
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 50 additions and 31 deletions

View file

@ -181,13 +181,15 @@ struct wlr_seat {
uint32_t capabilities;
struct timespec last_event;
struct wlr_data_source *selection_data_source;
struct wlr_data_source *selection_source;
uint32_t selection_serial;
struct wlr_primary_selection_source *primary_selection_source;
uint32_t primary_selection_serial;
// `drag` goes away before `drag_source`, when the implicit grab ends
struct wlr_drag *drag;
struct wlr_data_source *drag_source;
uint32_t drag_serial;
struct wlr_seat_pointer_state pointer_state;
@ -195,8 +197,9 @@ struct wlr_seat {
struct wlr_seat_touch_state touch_state;
struct wl_listener display_destroy;
struct wl_listener selection_data_source_destroy;
struct wl_listener selection_source_destroy;
struct wl_listener primary_selection_source_destroy;
struct wl_listener drag_source_destroy;
struct {
struct wl_signal pointer_grab_begin;