vte r2135 - in trunk: . src



Author: cpwilson
Date: Fri Oct 31 12:59:29 2008
New Revision: 2135
URL: http://svn.gnome.org/viewvc/vte?rev=2135&view=rev

Log:
2008-10-31  Chris Wilson  <chris chris-wilson co uk>

	Bug 557375 â >=vte-0.16.14 breaks highlighting on activity

	* src/vte.c (vte_terminal_deselect_all):
	Preserve the copy of the selection until it is replace by a new
	selection, so that we can perform asynchronous copies from the
	clipboard.



Modified:
   trunk/ChangeLog
   trunk/src/vte.c

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Fri Oct 31 12:59:29 2008
@@ -1023,8 +1023,8 @@
 				"Deselecting all text.\n");
 
 		terminal->pvt->has_selection = FALSE;
-		g_free (terminal->pvt->selection);
-		terminal->pvt->selection = NULL;
+		/* Don't free the current selection, as we need to keep
+		 * hold of it for async copying from the clipboard. */
 
 		vte_terminal_emit_selection_changed(terminal);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]