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:
parent
e5ccccfbd4
commit
35bd81dfec
@ -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) |
|
||||
|
Loading…
Reference in New Issue
Block a user