diff options
| author | Karl Heuer | 1995-05-09 04:58:10 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-09 04:58:10 +0000 |
| commit | 662ac59ae48257fb90ab54fc92c37607a8735dc9 (patch) | |
| tree | 379a8f2d54c999de6a9b60571418ed8f51467b56 /src | |
| parent | e557f19d8bf68d93864c03a479da6a0df9a4678f (diff) | |
| download | emacs-662ac59ae48257fb90ab54fc92c37607a8735dc9.tar.gz emacs-662ac59ae48257fb90ab54fc92c37607a8735dc9.zip | |
(make_frame_without_minibuffer): New arg KB.
Require the new frame's minibuffer to be on the same display.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 8 |
1 files changed, 7 insertions, 1 deletions
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) | |||
| 256 | default (the global minibuffer). */ | 256 | default (the global minibuffer). */ |
| 257 | 257 | ||
| 258 | struct frame * | 258 | struct frame * |
| 259 | make_frame_without_minibuffer (mini_window) | 259 | make_frame_without_minibuffer (mini_window, kb) |
| 260 | register Lisp_Object mini_window; | 260 | register Lisp_Object mini_window; |
| 261 | KBOARD *kb; | ||
| 261 | { | 262 | { |
| 262 | register struct frame *f; | 263 | register struct frame *f; |
| 263 | 264 | ||
| @@ -275,6 +276,11 @@ make_frame_without_minibuffer (mini_window) | |||
| 275 | CHECK_LIVE_WINDOW (mini_window, 0); | 276 | CHECK_LIVE_WINDOW (mini_window, 0); |
| 276 | } | 277 | } |
| 277 | 278 | ||
| 279 | #ifdef MULTI_KBOARD | ||
| 280 | if (XFRAME (XWINDOW (mini_window)->frame)->kboard != kb) | ||
| 281 | error ("frame and minibuffer must be on the same display"); | ||
| 282 | #endif | ||
| 283 | |||
| 278 | /* Make a frame containing just a root window. */ | 284 | /* Make a frame containing just a root window. */ |
| 279 | f = make_frame (0); | 285 | f = make_frame (0); |
| 280 | 286 | ||