# HG changeset patch # User Richard M. Stallman # Date 908032028 0 # Node ID 879b88bb7ab2efa8c3bd0e83780c6bb08b76cb19 # Parent 02cc44ea2455f3675871b27a1886ce5baefba491 (check_x_display_info): Don't use selected_frame if it is dead. diff -r 02cc44ea2455 -r 879b88bb7ab2 src/xfns.c --- 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;