diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-08-28 04:16:48 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-08-28 04:16:48 +0000 |
commit | 00b80b8a6ed76d1242eef490707a6f4f16aebdff (patch) | |
tree | 820fd191f6835b5e0d02341c8f29129a3df47554 | |
parent | ac4cf6cdecbd7953b05c3daf2ab7f6614e5a83fe (diff) |
Stop autoscrolling on button release.vte_0_8_10
* src/vte.c: Stop autoscrolling on button release.
-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. */ |