From 662ac59ae48257fb90ab54fc92c37607a8735dc9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 9 May 1995 04:58:10 +0000 Subject: [PATCH] (make_frame_without_minibuffer): New arg KB. Require the new frame's minibuffer to be on the same display. --- src/frame.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/frame.c b/src/frame.c index bac0bbaa6b..ad6a9a87c2 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); -- 2.20.1