diff options
author | Christopher Faylor <me@cgf.cx> | 2006-04-21 18:53:05 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-04-21 18:53:05 +0000 |
commit | f09acf77dea138412eebf78d361ba94433f4a375 (patch) | |
tree | fceeda93289dfe25af40420ac7fa13f9bb18ea58 /winsup/cygwin/fhandler_console.cc | |
parent | 33b0abd1c32ac1c49c31039a89ebf00480b64439 (diff) | |
download | cygnal-f09acf77dea138412eebf78d361ba94433f4a375.tar.gz cygnal-f09acf77dea138412eebf78d361ba94433f4a375.tar.bz2 cygnal-f09acf77dea138412eebf78d361ba94433f4a375.zip |
* tty.h (tty::hwnd): Move to tty_min.
(tty::gethwnd): Ditto.
(tty::sethwnd): Ditto.
(tty_min::hwnd): Receive variable from tty class.
(tty_min::gethwnd): Receive function from tty classs.
(tty_min::sethwnd): Ditto.
* dtable.cc (dtable::stdio_init): Only call init_console_handler when we
actually own the console.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Set tty's hwnd to
non-zero value.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Semi-reinstate handling of
console when pgrp is set.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 801ab5a6a..64a83ce66 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -115,6 +115,7 @@ fhandler_console::get_tty_stuff (int flags = 0) if (PRIMARYLANGID (LOWORD (GetKeyboardLayout (0))) == LANG_ENGLISH) dev_state->meta_mask |= RIGHT_ALT_PRESSED; dev_state->set_default_attr (); + shared_console_info->tty_min_state.sethwnd ((HWND) INVALID_HANDLE_VALUE); } return &shared_console_info->tty_min_state; |