On Tue, Jan 10, 2012 at 11:30:17AM -0600, Jon Pomrenke wrote: > --- > DirectFB-1.4.9.org/systems/fbdev/vt.c<http://directfb-1.4.9.org/systems/fbdev/vt.c> > 2010-09-17 > 00:42:15.000000000 -0500 > +++ DirectFB-1.4.9/systems/fbdev/vt.c 2012-01-09 16:50:24.965960912 -0600 > @@ -665,7 +665,7 @@ > if (ret < 0 && errno == EINTR) > continue; > > - if (ret < 0) > + if (ret < 0 || !dfb_vt->flush) > break; > > tcflush( dfb_vt->fd, TCIFLUSH );
Looks reasonable. BTW there's a new K_OFF mode in some recent kernels that could be used instead of this flushing approach. -- Ville Syrjälä syrj...@sci.fi http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev