Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!hsdndev!wuarchive!bcm!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: XImage->Pixmap->Window Message-ID: <3394@gazette.bcm.tmc.edu> Date: 28 Dec 90 16:29:11 GMT References: <29010@usc> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Organization: Baylor College of Medicine, Houston, Tx Lines: 22 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu In article <29010@usc>, curtz@skat.usc.edu (Curtz Lam) writes: |> |> 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. |> It is unclear exactly how you are using XClearArea to redraw a window. Is the pixmap the window's background pixmap? -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bcm.tmc.edu (713) 798-3776