From: Gerd Moellmann Date: Tue, 6 Mar 2001 19:33:47 +0000 (+0000) Subject: (Fx_create_frame): Clear Vwindow_list. X-Git-Tag: emacs-pretest-21.0.100~175 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e57df62a8343ec67505750d1dbd4d9c0d3247d3;p=emacs.git (Fx_create_frame): Clear Vwindow_list. --- diff --git a/src/w32fns.c b/src/w32fns.c index 74aaf164bec..f3001649f81 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -5462,6 +5462,11 @@ This function is an internal primitive--use `make-frame' instead.") ; } UNGCPRO; + + /* Make sure windows on this frame appear in calls to next-window + and similar functions. */ + Vwindow_list = Qnil; + return unbind_to (count, frame); } diff --git a/src/xfns.c b/src/xfns.c index 8ed08ee75ff..97c57382f41 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4455,6 +4455,11 @@ This function is an internal primitive--use `make-frame' instead.") } UNGCPRO; + + /* Make sure windows on this frame appear in calls to next-window + and similar functions. */ + Vwindow_list = Qnil; + return unbind_to (count, frame); }