aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-30 09:36:42 -0500
committerGitHub <noreply@github.com>2019-01-30 09:36:42 -0500
commit41af8d845933f2bc6b158d0cac5a0c5688cce7d0 (patch)
tree35cfc896a7dc98097333aebf40eedc2f288722a9 /include
parenta37dfb380b4d519f943e23ee69671aa64b098ecf (diff)
parent29952dee19c030d2ae1034e0304de72a645b4444 (diff)
Merge pull request #1513 from emersion/fix-dnd
data-device: fix drag-and-drop
Diffstat (limited to 'include')
-rw-r--r--include/rootston/seat.h3
-rw-r--r--include/wlr/types/wlr_seat.h1
2 files changed, 2 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;
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 103fa24d..c81c2cec 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -135,6 +135,7 @@ struct wlr_seat_pointer_state {
struct wlr_seat *seat;
struct wlr_seat_client *focused_client;
struct wlr_surface *focused_surface;
+ double sx, sy;
struct wlr_seat_pointer_grab *grab;
struct wlr_seat_pointer_grab *default_grab;