diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 48bda27702a..f6395dc0fb4 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -264,7 +264,8 @@ check_x_display_info (frame) | |||
| 264 | { | 264 | { |
| 265 | if (NILP (frame)) | 265 | if (NILP (frame)) |
| 266 | { | 266 | { |
| 267 | if (FRAME_X_P (selected_frame)) | 267 | if (FRAME_X_P (selected_frame) |
| 268 | && FRAME_LIVE_P (selected_frame)) | ||
| 268 | return FRAME_X_DISPLAY_INFO (selected_frame); | 269 | return FRAME_X_DISPLAY_INFO (selected_frame); |
| 269 | else if (x_display_list != 0) | 270 | else if (x_display_list != 0) |
| 270 | return x_display_list; | 271 | return x_display_list; |