mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
data-device: add seat.drag_source
This commit is contained in:
parent
5dc5f446a8
commit
743466d475
3 changed files with 50 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue