Merge branch 'one_less_monotonic' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-07-25 09:45:39 +05:30
commit d1cffcde68
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -295,7 +295,7 @@ HANDLER(handle_move_event) {
double now = monotonic(); double now = monotonic();
if ((now - w->last_drag_scroll_at) >= 0.02 || mouse_cell_changed) { if ((now - w->last_drag_scroll_at) >= 0.02 || mouse_cell_changed) {
update_drag(false, w, false, 0); update_drag(false, w, false, 0);
w->last_drag_scroll_at = monotonic(); w->last_drag_scroll_at = now;
} }
} }
} else { } else {