Commit 662ac59a authored by Karl Heuer's avatar Karl Heuer
Browse files

(make_frame_without_minibuffer): New arg KB.

Require the new frame's minibuffer to be on the same display.
parent e557f19d
......@@ -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;
register struct frame *f;
......@@ -275,6 +276,11 @@ make_frame_without_minibuffer (mini_window)
CHECK_LIVE_WINDOW (mini_window, 0);
if (XFRAME (XWINDOW (mini_window)->frame)->kboard != kb)
error ("frame and minibuffer must be on the same display");
/* Make a frame containing just a root window. */
f = make_frame (0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment