Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 110942f6 authored by Nathan Grebowiec's avatar Nathan Grebowiec
Browse files

Prevent scroll drifting in swipe recovery

Change-Id: I8179607517f55b2941924b5726e0e57b012f8e18
parent 2457cc01
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ static void reset_gestures() {
    old_y = 0;
    touch_x = 0;
    touch_y = 0;

    ui_clear_key_queue();
}

void swipe_handle_input(int fd, struct input_event *ev) {