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 /src | |
parent | ac4cf6cdecbd7953b05c3daf2ab7f6614e5a83fe (diff) | |
download | vte-00b80b8a6ed76d1242eef490707a6f4f16aebdff.tar.gz |
Stop autoscrolling on button release.vte_0_8_10
* src/vte.c: Stop autoscrolling on button release.
Diffstat (limited to 'src')
-rw-r--r-- | src/vte.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. */ |