diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-10-23 20:07:06 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-10-23 20:07:06 -0400 |
commit | 03250451173cdc63aeb10f2f43ec7fe203082be1 (patch) | |
tree | 52264364ab9a44a74e6642ee745a09091fc8445d /src | |
parent | ab66ce5ca7bc9948ffb5303156c3a2764656c3b7 (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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |