diff options
author | emersion <contact@emersion.fr> | 2018-01-23 13:37:58 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-23 13:37:58 +0100 |
commit | 4d282c859099321b1e799a2ab344480f186359ef (patch) | |
tree | b2f372b99c1f2925c5f9b79f636f39ce030a6554 /include/rootston | |
parent | 415a2b7c569457ebf85d7ae066cc19bee196d22e (diff) |
rootston: damage tracking for drag icons
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/seat.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h index cf5dd3b2..c71f7de0 100644 --- a/include/rootston/seat.h +++ b/include/rootston/seat.h @@ -17,12 +17,15 @@ struct roots_seat { struct wl_list views; // roots_seat_view::link bool has_focus; + struct wl_list drag_icons; // roots_drag_icon::link + struct wl_list keyboards; struct wl_list pointers; struct wl_list touch; struct wl_list tablet_tools; - struct wl_listener seat_destroy; + struct wl_listener new_drag_icon; + struct wl_listener destroy; }; struct roots_seat_view { @@ -33,6 +36,16 @@ struct roots_seat_view { struct wl_listener view_destroy; }; +struct roots_drag_icon { + struct roots_seat *seat; + struct wlr_drag_icon *wlr_drag_icon; + struct wl_list link; + + struct wl_listener surface_commit; + struct wl_listener map; + struct wl_listener destroy; +}; + struct roots_pointer { struct roots_seat *seat; struct wlr_input_device *device; |