Fri Feb 11 14:28:22 2005 Søren Sandmann <sandmann@redhat.com>

When COMPOSITE is enabled, call CopyWindow even when the pixels "don't
    move" on screen.
Don't reject modes that are not supported by the unused monitor.
This commit is contained in:
Søren Sandmann Pedersen 2005-02-11 19:38:04 +00:00
parent e5ccccfbd4
commit 35bd81dfec

View File

@ -74,14 +74,15 @@ fakeScreenInitialize (KdScreenInfo *screen, FakeScrPriv *scrpriv)
screen->height = 768;
screen->rate = 72;
}
if (screen->width <= 0)
screen->width = 1;
if (screen->height <= 0)
screen->height = 1;
if (!screen->fb[0].depth)
screen->fb[0].depth = 16;
t = KdFindMode (screen, fakeModeSupported);
screen->rate = t->rate;
screen->width = t->horizontal;
screen->height = t->vertical;
if (screen->fb[0].depth <= 8)
{
screen->fb[0].visuals = ((1 << StaticGray) |