summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/select.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-09-01 14:25:10 +0000
committerChristopher Faylor <me@cgf.cx>2009-09-01 14:25:10 +0000
commitd984eb88db9a37f072faf66a47d07d77d7c6ed3c (patch)
tree63d2fce842539c01d2e5cd9f20eddbb7685375c7 /winsup/cygwin/select.cc
parent1cd39cb9b397be8fd5dd3a8a1814677551a9a9a5 (diff)
downloadcygnal-d984eb88db9a37f072faf66a47d07d77d7c6ed3c.tar.gz
cygnal-d984eb88db9a37f072faf66a47d07d77d7c6ed3c.tar.bz2
cygnal-d984eb88db9a37f072faf66a47d07d77d7c6ed3c.zip
* select.cc (peek_console): Always check window size when there is ANY keyboard
activity.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc2
1 files changed, 1 insertions, 1 deletions
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