mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 07:49:59 +00:00
xfree86: drop if 0 hunk
Disabled in 2005. bye bye. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -190,18 +190,6 @@ xf86OpenConsole(void)
|
||||
else
|
||||
activeVT = vts.v_active;
|
||||
|
||||
#if 0
|
||||
if (!KeepTty) {
|
||||
/*
|
||||
* Detach from the controlling tty to avoid char loss
|
||||
*/
|
||||
if ((i = open("/dev/tty", O_RDWR)) >= 0) {
|
||||
SYSCALL(ioctl(i, TIOCNOTTY, 0));
|
||||
close(i);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!xf86Info.ShareVTs) {
|
||||
struct termios nTty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user