The above is fine if everything is done in the console. However,
problems may arise if an app that touches the graphics hardware (ie X)
is launched. From the point of view of fbcon, the hardware state hasn't
changed (compare of newvar with oldvar is false) when display is
switched back to console. And if that app did not fully restore the
hardware state, we will be left with a corrupted display.
I'm aware of this flaw. I plan to fix this when the rewrite of the console
system starts. The console system should handle restore ths video mode.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm