diff src/frame.c @ 11775:fe7852953b75

(make_frame_without_minibuffer): New arg KB. Require the new frame's minibuffer to be on the same display.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 May 1995 04:58:10 +0000
parents bde1a67e0455
children 6234b3610a6f
line wrap: on
line diff
--- 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);