[vte/vte-next] fixup! emulation: Support xterm extended mouse tracking mode



commit c8ce2abd6569e47c17a3ac17d9c587e03b07e4d1
Author: Christian Persch <chpe gnome org>
Date:   Fri Oct 12 01:07:38 2012 +0200

    fixup! emulation: Support xterm extended mouse tracking mode

 src/vte.c    |    2 +-
 src/vteseq.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index a80ee76..1da35fd 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -5575,7 +5575,7 @@ vte_buffer_feed_mouse_event(VteBuffer *buffer,
 		cb |= 32;
 	}
 
-	/* Clamp the cursor coordinates. Make them 1-based. */
+        /* Clamp the cursor coordinates. Make them 1-based. */
         cx = CLAMP(1 + col, 1, buffer->pvt->column_count);
         cy = CLAMP(1 + row, 1, buffer->pvt->row_count);
 
diff --git a/src/vteseq.c b/src/vteseq.c
index af95a31..dc78526 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -611,7 +611,7 @@ vte_sequence_handler_decset_internal(VteBuffer *buffer,
 		 GINT_TO_POINTER(MOUSE_TRACKING_ALL_MOTION_TRACKING),
 		 NULL, NULL,},
 		/* 1006: Extended mouse coordinates. */
-		{1006, &terminal->pvt->mouse_xterm_extension, NULL, NULL,
+		{1006, &buffer->pvt->mouse_xterm_extension, NULL, NULL,
 		 GINT_TO_POINTER(FALSE),
 		 GINT_TO_POINTER(TRUE),
 		 NULL, NULL,},



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