(check_x_display_info): Don't use selected_frame if it is dead.
This commit is contained in:
parent
3f8ab7bddc
commit
0ec56a8056
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ check_x_display_info (frame)
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue