Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!skat.usc.edu!curtz From: curtz@skat.usc.edu (Curtz Lam) Newsgroups: comp.windows.x Subject: XImage->Pixmap->Window Message-ID: <29010@usc> Date: 25 Dec 90 02:01:10 GMT Sender: news@usc Organization: University of Southern California, Los Angeles, CA Lines: 16 Nntp-Posting-Host: skat.usc.edu Originator: curtz@skat.usc.edu I am trying to display some images with XImage->Pixmap->Window, by using XPutImage and XClearArea. The problem is sometimes the old image keeps appearing two or three times before the new one shows up. I've tried putting an XFlush after XPutImage and before XClearArea but it didn't help. Any idea? Curtz p.s: It works fine when I use XImage->Window although I would prefer using a Pixmap. -- Internet: curtz@usc.edu UUCP: ...!uunet!usc!curtz