aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-13 19:16:34 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-15 08:34:48 -0500
commit4eab61f86f22f902a02f23f57cd318c2400d2729 (patch)
tree437b47317c6cec83164c0d41b7715f6f8ea1dea4 /rootston
parentb310fdac823f9e9233099eb3288a1d308cef6680 (diff)
wlr-seat: refactor touch grab interface
Diffstat (limited to 'rootston')
-rw-r--r--rootston/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 863267b6..eff81104 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -261,8 +261,8 @@ void roots_cursor_handle_touch_motion(struct roots_cursor *cursor,
double sx, sy;
view_at(desktop, lx, ly, &surface, &sx, &sy);
- if (surface == point->surface) {
- wlr_seat_touch_notify_motion(cursor->seat->seat, event->time_msec,
+ if (surface) {
+ wlr_seat_touch_notify_motion(cursor->seat->seat, surface, event->time_msec,
event->slot, sx, sy);
}
}