Fix the --without-x build
* src/frame.c (Ficonify_frame) [HAVE_WINDOW_SYSTEM]: Use frame_parent only in GUI builds to avoid compilation errors in --without-x builds. (Bug#28611)
This commit is contained in:
parent
b69bcf3452
commit
d09ac15005
1 changed files with 2 additions and 0 deletions
|
@ -2542,6 +2542,7 @@ for how to proceed. */)
|
|||
(Lisp_Object frame)
|
||||
{
|
||||
struct frame *f = decode_live_frame (frame);
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
Lisp_Object parent = f->parent_frame;
|
||||
|
||||
if (!NILP (parent))
|
||||
|
@ -2562,6 +2563,7 @@ for how to proceed. */)
|
|||
return Qnil;
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_WINDOW_SYSTEM */
|
||||
|
||||
/* Don't allow minibuf_window to remain on an iconified frame. */
|
||||
check_minibuf_window (frame, EQ (minibuf_window, selected_window));
|
||||
|
|
Loading…
Add table
Reference in a new issue