aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-30 14:07:59 +0100
committeremersion <contact@emersion.fr>2019-01-30 15:24:18 +0100
commitfaa00a4a3362a8d7ea3942be50f95eb693fddb2e (patch)
tree6b1db8aaf64e6a0bfd4f94d58585a8ab2e807d94 /include/rootston
parentd6de329d981f232ad47657d389a76b0da3cd217f (diff)
rootston: only allow one drag icon per seat
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/seat.h3
1 files changed, 1 insertions, 2 deletions
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;