OSDN Git Service

* tty.h (tty::hwnd): Move to tty_min.
authorcgf <cgf>
Fri, 21 Apr 2006 18:53:05 +0000 (18:53 +0000)
committercgf <cgf>
Fri, 21 Apr 2006 18:53:05 +0000 (18:53 +0000)
commit2c2b4251fe7393d16c4a77f0494d50c97ceff21e
tree648e62d160f1d33ffc8f19f435a173d42d51caa8
parent51286e105963ab9a00eadb1d2a94f3a5844fc55c
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/dtable.cc
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fhandler_termios.cc
winsup/cygwin/tty.h