Skip to content

Commit

Permalink
(Fx_create_frame): Clear Vwindow_list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerd Moellmann committed Mar 6, 2001
1 parent e57b2e4 commit f765851
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/w32fns.c
Expand Up @@ -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);
}

Expand Down
5 changes: 5 additions & 0 deletions src/xfns.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit f765851

Please sign in to comment.