From xemacs-m  Mon May 19 10:42:49 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA24940
	for <xemacs-beta@xemacs.org>; Mon, 19 May 1997 10:42:47 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id RAA15388; Mon, 19 May 1997 17:42:45 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: [patch] Console resizing
X-Save-Project-Gutenberg: <URL:http://www.promo.net/pg/nl/pgny_nov96.html>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-Tom-Swifty: "I've got a bucket full of forearms," Tom said wistfully.
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 19 May 1997 17:42:44 +0200
Message-ID: <kighgfzsc23.fsf@jagor.srce.hr>
Lines: 31
X-Mailer: Gnus v5.4.52/XEmacs 20.2

SIGWINCH should be assumed when a TTY console is resumed, too.

--- src/console.c.orig	Mon May 19 17:14:05 1997
+++ src/console.c	Mon May 19 17:36:12 1997
@@ -973,6 +973,12 @@
 	  }
       }
     init_one_console(c);
+#ifdef SIGWINCH
+    /* The same as in Fsuspend_emacs: it is possible that a size
+       change occurred while we were suspended.  Assume one did just
+       to be safe.  It won't hurt anything if one didn't. */
+    asynch_device_change_pending++;
+#endif
   }
 
   UNGCPRO;


ChangeLog entry:

Mon May 19 17:41:38 1997  Hrvoje Niksic  <hniksic@srce.hr>

	* src/console.c (Fresume_console): Assume SIGWINCH.



-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Oh lord won't you buy me a color TV...

