aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 147e492e7d5..5dda7ed2c5d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7329,7 +7329,9 @@ XTread_socket (terminal, expected, hold_quit)
7329 int count = 0; 7329 int count = 0;
7330 XEvent event; 7330 XEvent event;
7331 int event_found = 0; 7331 int event_found = 0;
7332#if 0
7332 struct x_display_info *dpyinfo; 7333 struct x_display_info *dpyinfo;
7334#endif
7333 7335
7334 if (interrupt_input_blocked) 7336 if (interrupt_input_blocked)
7335 { 7337 {
@@ -7366,7 +7368,7 @@ XTread_socket (terminal, expected, hold_quit)
7366 if (terminal->display_info.x == XTread_socket_fake_io_error) 7368 if (terminal->display_info.x == XTread_socket_fake_io_error)
7367 { 7369 {
7368 XTread_socket_fake_io_error = 0; 7370 XTread_socket_fake_io_error = 0;
7369 x_io_error_quitter (dpyinfo->display); 7371 x_io_error_quitter (terminal->display_info.x->display);
7370 } 7372 }
7371 7373
7372#if 0 /* This loop is a noop now. */ 7374#if 0 /* This loop is a noop now. */