rootston: only allow one drag icon per seat

This commit is contained in:
emersion 2019-01-30 14:07:59 +01:00
parent d6de329d98
commit faa00a4a33
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 15 additions and 16 deletions

View file

@ -29,7 +29,7 @@ struct roots_seat {
struct wl_list views; // roots_seat_view::link
bool has_focus;
struct wl_list drag_icons; // roots_drag_icon::link
struct roots_drag_icon *drag_icon; // can be NULL
struct wl_list keyboards;
struct wl_list pointers;
@ -61,7 +61,6 @@ struct roots_seat_view {
struct roots_drag_icon {
struct roots_seat *seat;
struct wlr_drag_icon *wlr_drag_icon;
struct wl_list link;
double x, y;