XDM with clean initial pixmap
Andre dos Santos Cruz Moreira
andre "at" dei.isep.ipp.pt
Fri, 05 Mar 1999 16:58:42 +0000
Hello
If you are using XDM with Xvnc one thing you can notice is an important
delay in initial screen loading (specialy at 10 Mbps).
The main reason is the initial background pixmap, very dificult for VNC to
handle it.
Don=B4t know if someone has already proposed this.
I=B4ve made a minor change in the Xvnc source in order to use a clear pixmap
(backgound will appear black).
in file
..../Xvnc/programs/Xserver/dix/window.c
goto function MakeRootTile(WindowPtr pWin)
at the end of MakeRootTile force the pixmap to zero by adding this=20
line with bzero():
bzero((char*)back,128);
(*pGC->ops->PutImage)((DrawablePtr)pWin->background.pixmap, pGC, 1,
0, 0, 4, 4, 0, XYBitmap, (char *)back);
FreeScratchGC(pGC);
}
Andre Moreira
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------