From: Karl Heuer Date: Tue, 9 May 1995 04:58:10 +0000 (+0000) Subject: (make_frame_without_minibuffer): New arg KB. X-Git-Tag: emacs-19.34~4083 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=662ac59ae48257fb90ab54fc92c37607a8735dc9;p=emacs.git (make_frame_without_minibuffer): New arg KB. Require the new frame's minibuffer to be on the same display. --- diff --git a/src/frame.c b/src/frame.c index bac0bbaa6ba..ad6a9a87c2f 100644 --- a/src/frame.c +++ b/src/frame.c @@ -256,8 +256,9 @@ make_frame (mini_p) 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 @@ make_frame_without_minibuffer (mini_window) 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);