vte r2300 - in trunk: . src



Author: behdad
Date: Tue Dec  2 13:54:42 2008
New Revision: 2300
URL: http://svn.gnome.org/viewvc/vte?rev=2300&view=rev

Log:
2008-12-02  Behdad Esfahbod  <behdad gnome org>

        * src/vte.c (vte_terminal_extend_selection):  Add a shortcircuit 
        check.



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

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Tue Dec  2 13:54:42 2008
@@ -6274,6 +6274,10 @@
 	gboolean invalidate_selected = FALSE;
 	gboolean had_selection;
 
+	if (G_UNLIKELY (x == terminal->pvt->mouse_last_x &&
+			y == terminal->pvt->mouse_last_y))
+		return;
+
 	height = terminal->char_height;
 	width = terminal->char_width;
 



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