diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/vte.c | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -1,4 +1,6 @@ 2002-08-27 nalin + * src/vte.c: Stop autoscrolling on button release. +2002-08-27 nalin * src/vte.c: When autoscrolling, clamp the new boundary to what the user can see. 2002-08-27 nalin @@ -8358,6 +8358,11 @@ vte_terminal_button_release(GtkWidget *widget, GdkEventButton *event) if (event->button == 1) { vte_terminal_copy(terminal, GDK_SELECTION_PRIMARY); } + + /* Disconnect from autoscroll requests. */ + if (terminal->pvt->mouse_autoscroll_tag != -1) { + g_source_remove(terminal->pvt->mouse_autoscroll_tag); + } } /* Hilite any matches. */ |