* dispnew.c (window_change_signal): Don't try to get the size of a
[bpt/emacs.git] / src / dispnew.c
index c94119f..bbe0f9f 100644 (file)
@@ -6218,6 +6218,11 @@ window_change_signal (signalnum) /* If we don't have an argument, */
     if (! tty->term_initted)
       continue;
 
+    /* Suspended tty frames have tty->input == NULL avoid trying to
+       use it.  */
+    if (!tty->input)
+      continue;
+
     get_tty_size (fileno (tty->input), &width, &height);
 
     if (width > 5 && height > 2) {