From d984eb88db9a37f072faf66a47d07d77d7c6ed3c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 1 Sep 2009 14:25:10 +0000 Subject: [PATCH] * select.cc (peek_console): Always check window size when there is ANY keyboard activity. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/select.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index faa4c8215..6a090c0ac 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-09-01 Christopher Faylor + + * select.cc (peek_console): Always check window size when there is ANY + keyboard activity. + 2009-08-26 Corinna Vinschen * path.h (INTERIX_SYMLINK_COOKIE): Define. diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 6e46c4ed1..cb58445c9 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -812,6 +812,7 @@ peek_console (select_record *me, bool) break; else { + fh->send_winch_maybe (); if (irec.EventType == KEY_EVENT) { if (irec.Event.KeyEvent.bKeyDown @@ -821,7 +822,6 @@ peek_console (select_record *me, bool) } else { - fh->send_winch_maybe (); if (irec.EventType == MOUSE_EVENT && fh->mouse_aware () && (irec.Event.MouseEvent.dwEventFlags == 0