[vte] Revert "Copy PRIMARY only on button release"
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Revert "Copy PRIMARY only on button release"
- Date: Sat, 24 Oct 2009 00:08:13 +0000 (UTC)
commit 03250451173cdc63aeb10f2f43ec7fe203082be1
Author: Behdad Esfahbod <behdad behdad org>
Date: Fri Oct 23 20:07:06 2009 -0400
Revert "Copy PRIMARY only on button release"
This reverts commit ab66ce5ca7bc9948ffb5303156c3a2764656c3b7.
We need to fix bug 598090 before this can go in.
src/vte.c | 4 +++-
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]