aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-15 06:43:30 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-15 08:34:48 -0500
commitac4841ba37aee8c0d661c44f2de2fd6ed5d38086 (patch)
treea6b7ac945dedb421f6cd798b9546169155b58355 /rootston/cursor.c
parenta337e9550587aea885779fe93340f1b90376682c (diff)
put dnd icon in the right place
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r--rootston/cursor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 16441f4b..7e261234 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -270,6 +270,11 @@ void roots_cursor_handle_touch_motion(struct roots_cursor *cursor,
wlr_seat_touch_point_clear_focus(cursor->seat->seat, event->time_msec,
event->slot);
}
+
+ if (wlr_seat_touch_has_grab(cursor->seat->seat)) {
+ cursor->seat->touch_grab_x = lx;
+ cursor->seat->touch_grab_y = ly;
+ }
}
void roots_cursor_handle_tool_axis(struct roots_cursor *cursor,