Skip to content

Commit

Permalink
still scroll after the tap moves outside the rofi window
Browse files Browse the repository at this point in the history
  • Loading branch information
chayleaf committed Aug 24, 2024
1 parent 637fe90 commit 3d02857
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/wayland/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ static void wayland_touch_motion(void *data, struct wl_touch *wl_touch,
int cur_pos = y_offset_to_line_offset(y - self->touches[id].start_y);

if (cur_pos != last_pos) {
rofi_view_handle_mouse_motion(state, x, y, FALSE);
nk_bindings_seat_handle_scroll(wayland->bindings_seat, NULL,
NK_BINDINGS_SCROLL_AXIS_VERTICAL,
cur_pos - last_pos);
Expand Down

0 comments on commit 3d02857

Please sign in to comment.