summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-10-23 20:07:06 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-10-23 20:07:06 -0400
commit03250451173cdc63aeb10f2f43ec7fe203082be1 (patch)
tree52264364ab9a44a74e6642ee745a09091fc8445d /src
parentab66ce5ca7bc9948ffb5303156c3a2764656c3b7 (diff)
Revert "Copy PRIMARY only on button release"
This reverts commit ab66ce5ca7bc9948ffb5303156c3a2764656c3b7. We need to fix bug 598090 before this can go in.
Diffstat (limited to 'src')
-rw-r--r--src/vte.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vte.c b/src/vte.c
index 92f977c..1c927bc 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -6618,6 +6618,9 @@ vte_terminal_extend_selection(VteTerminal *terminal, long x, long y,
"Selection changed to "
"(%ld,%ld) to (%ld,%ld).\n",
sc->col, sc->row, ec->col, ec->row);
+
+ vte_terminal_copy_primary(terminal);
+ vte_terminal_emit_selection_changed(terminal);
}
static void
@@ -7073,7 +7076,6 @@ vte_terminal_button_release(GtkWidget *widget, GdkEventButton *event)
!terminal->pvt->selecting_restart &&
terminal->pvt->selecting_had_delta) {
vte_terminal_copy_primary(terminal);
- vte_terminal_emit_selection_changed(terminal);
}
terminal->pvt->selecting = FALSE;
handled = TRUE;