CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20020324 14:46:50

Modified files:
        inputdrivers/keyboard: keyboard.c 
        inputdrivers/ps2mouse: ps2mouse.c 

Log message:
Do TIOCNOTTY on /dev/tty0 instead of file descriptor 0.
This way XDirectFB works when started from linux console,
but I don't know why only XDirectFB failed. Don't know either
what TIOCNOTTY is, neither TIOCSCTTY. Time for a VT/TTY handling
rewrite in DirectFB.

However, I added perror messages in case TIOCNOTTY or TIOCSCTTY fails.

Strange result (df_window and XDirectFB show same behaviour now):

from xterm:                       both ioctls fail
from linux console:               second ioctl fails
from linux console (with strace): first ioctl fails

Removed tcflush calls from PS/2 driver (inappropriate ioctl).



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-cvs" as subject.

Reply via email to