From faa00a4a3362a8d7ea3942be50f95eb693fddb2e Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 30 Jan 2019 14:07:59 +0100 Subject: rootston: only allow one drag icon per seat --- include/rootston/seat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/rootston') diff --git a/include/rootston/seat.h b/include/rootston/seat.h index 4667cd38..a91d8481 100644 --- a/include/rootston/seat.h +++ b/include/rootston/seat.h @@ -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; -- cgit v1.2.3