# HG changeset patch # User Karl Heuer # Date 799995490 0 # Node ID fe7852953b75a399c0a3104c772f91a9f81fc59a # Parent 0b5cb5170084903db06a770224b88472f1b7998e (make_frame_without_minibuffer): New arg KB. Require the new frame's minibuffer to be on the same display. diff -r 0b5cb5170084 -r fe7852953b75 src/frame.c --- a/src/frame.c Tue May 09 04:57:39 1995 +0000 +++ b/src/frame.c Tue May 09 04:58:10 1995 +0000 @@ -256,8 +256,9 @@ default (the global minibuffer). */ struct frame * -make_frame_without_minibuffer (mini_window) +make_frame_without_minibuffer (mini_window, kb) register Lisp_Object mini_window; + KBOARD *kb; { register struct frame *f; @@ -275,6 +276,11 @@ CHECK_LIVE_WINDOW (mini_window, 0); } +#ifdef MULTI_KBOARD + if (XFRAME (XWINDOW (mini_window)->frame)->kboard != kb) + error ("frame and minibuffer must be on the same display"); +#endif + /* Make a frame containing just a root window. */ f = make_frame (0);