Mercurial > emacs
diff src/xfns.c @ 23411:879b88bb7ab2
(check_x_display_info): Don't use selected_frame if it is dead.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 10 Oct 1998 15:07:08 +0000 |
parents | 9676fa7e02bf |
children | 3f48dda0547a |
line wrap: on
line diff
--- a/src/xfns.c Sat Oct 10 14:49:28 1998 +0000 +++ b/src/xfns.c Sat Oct 10 15:07:08 1998 +0000 @@ -264,7 +264,8 @@ { if (NILP (frame)) { - if (FRAME_X_P (selected_frame)) + if (FRAME_X_P (selected_frame) + && FRAME_LIVE_P (selected_frame)) return FRAME_X_DISPLAY_INFO (selected_frame); else if (x_display_list != 0) return x_display_list;