diff options
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/cursor.c | 4 |
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); } } |