changeset 3266:1173bc4814da

(display_text_line): Really check for just the selected window.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 May 1993 20:41:31 +0000
parents 80f57ae8d44e
children ac18ead9965d
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat May 29 20:39:19 1993 +0000
+++ b/src/xdisp.c	Sat May 29 20:41:31 1993 +0000
@@ -1729,7 +1729,7 @@
   if (highlight_region && XMARKER (current_buffer->mark)->buffer != 0
       /* Maybe highlight only in selected window.  */
       && (highlight_nonselected_windows
-	  || w == XWINDOW (FRAME_SELECTED_WINDOW (f))))
+	  || w == XWINDOW (selected_window)))
     {
       region_beg = marker_position (current_buffer->mark);
       if (PT < region_beg)