CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20010623 15:05:29

Modified files:
        gfxdrivers/matrox: matrox_state.c 
        include        : directfb_internals.h 
        src            : directfb.c 
        src/core       : reactor.c reactor.h sig.c surfacemanager.c vt.c 
                         vt.h 
        inputdrivers/keyboard: keyboard.c 

Log message:
Added console switching support during runtime!!!

Experimental but working... use Ctrl+Alt + (F1 - F12) ;)
Had to add much code to src/core/vt.c that does the
biggest part of the job (reentrant signal handler ;-)
Added VT_ACTIVATE code to the global keyboard handler
in src/directfb.c, which handled Ctrl+Alt+Backspace so far.
Also modified the keyboard driver, because vt switching
code in src/core/vt.c already had to open the target tty.

Turn on debugging during configure if you have problems with
switching and mail the output to the developers list.

Other fixes and additions:

Another 'mga_waitfifo()' call corrected (10 -> 12).

Fixed bug in 'surfacemanager_suspend()' that broke some surfaces,
e.g. fonts. It did not assure a valid system memory instance.
It still does not care about video only surfaces.

Fixed 'reactor_dispatch()', RS_REMOVE was not handled.

Added RS_DROP that tells 'reactor_dispatch()' not to do
any further dispatching of the event.

Do a 'kill (0, SIGHUP)' in signal handler instead of 'exit()',
after all our handlers are removed, of course ;-)



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

Reply via email to