]> code.delx.au - gnu-emacs/blobdiff - src/dispnew.c
Merged in changes from CVS trunk.
[gnu-emacs] / src / dispnew.c
index f2fac47a7c2952e4af3780bd74b0f84b19a2e7f8..6813cda5a71af992ebd9635581aa407d200120ef 100644 (file)
@@ -6005,6 +6005,9 @@ window_change_signal (signalnum) /* If we don't have an argument, */
 
   struct tty_display_info *tty;
 
+  signal (SIGWINCH, window_change_signal);
+  SIGNAL_THREAD_CHECK (signalnum);
+
   /* The frame size change obviously applies to a single
      termcap-controlled terminal, but we can't decide which.
      Therefore, we resize the frames corresponding to each tty.
@@ -6028,7 +6031,6 @@ window_change_signal (signalnum) /* If we don't have an argument, */
     }
   }
   
-  signal (SIGWINCH, window_change_signal);
   errno = old_errno;
 }
 #endif /* SIGWINCH */