changeset 3164:40590cba332a

(window_loop, case GET_LRU_WINDOW): Get frame's width properly.
author Richard M. Stallman <rms@gnu.org>
date Thu, 27 May 1993 03:46:21 +0000
parents 0042a01ff63a
children 6b47ab3b2a88
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Thu May 27 03:33:12 1993 +0000
+++ b/src/window.c	Thu May 27 03:46:21 1993 +0000
@@ -1131,7 +1131,7 @@
 	  case GET_LRU_WINDOW:
 	    /* t as arg means consider only full-width windows */
 	    if (!NILP (obj) && XFASTINT (XWINDOW (w)->width)
-		!= FRAME_WIDTH (frame))
+		!= FRAME_WIDTH (XFRAME (WINDOW_FRAME (XWINDOW (w)))))
 	      break;
 #if 0
 	    /* Ignore invisible and iconified frames.  */