vte r2300 - in trunk: . src
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2300 - in trunk: . src
- Date: Tue, 2 Dec 2008 13:54:42 +0000 (UTC)
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]