Commit a2db42d6 authored by Richard M. Stallman's avatar Richard M. Stallman

(window_loop, case GET_LRU_WINDOW): Get frame's width properly.

parent ecc99658
......@@ -1131,7 +1131,7 @@ window_loop (type, obj, mini, frames)
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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment