changeset 34438:524c7ecc8ef4

(try_window_id) <all changes above window start>: Set the cursor.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 11 Dec 2000 14:36:45 +0000
parents bafce26f4c77
children cb07a94d7b5a
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Dec 11 14:33:47 2000 +0000
+++ b/src/xdisp.c	Mon Dec 11 14:36:45 2000 +0000
@@ -10798,6 +10798,11 @@
 	= Z_BYTE - MATRIX_ROW_END_BYTEPOS (row);
 #endif
 
+      row = row_containing_pos (w, PT, r0, NULL);
+      if (row == NULL)
+	return 0;
+      
+      set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
       return 1;
     }