diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 5ecddbc11d3..31c2aa58620 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -4346,7 +4346,8 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 4346 | Lisp_Object parent; | 4346 | Lisp_Object parent; |
| 4347 | struct kboard *kb; | 4347 | struct kboard *kb; |
| 4348 | 4348 | ||
| 4349 | if (!FRAME_W32_P (SELECTED_FRAME ())) | 4349 | if (!FRAME_W32_P (SELECTED_FRAME ()) |
| 4350 | && !FRAME_INITIAL_P (SELECTED_FRAME ())) | ||
| 4350 | error ("Cannot create a GUI frame in a -nw session"); | 4351 | error ("Cannot create a GUI frame in a -nw session"); |
| 4351 | 4352 | ||
| 4352 | /* Make copy of frame parameters because the original is in pure | 4353 | /* Make copy of frame parameters because the original is in pure |