Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!godzilla!devorah!victor From: victor@devorah.tcs.com (Victor Elkind) Newsgroups: comp.windows.x.motif Subject: Re: How do I double buffer in X? Message-ID: <2177@godzilla.tcs.com> Date: 13 May 91 21:21:47 GMT References: <3954@dali> Sender: root@tcs.com Reply-To: victor@devorah.tcs.com (Victor Elkind) Distribution: usa Organization: Teknekron Communications Systems Lines: 11 I can suggest creating a pixmap the size of your window, "drawing" into that pixmap, and then using XCopyArea to copy the pixmap into the window. This should eliminate flashing that takes place when you draw directly into a window. Of couse, I cannot guarantee how well this will work for animation, but it's worth a try. Let me know if this works for you or if you find a better way. ---- Victor Elkind, Software Engineer | victor@tcs.com or uunet!tcs!victor The opinions expressed above are my own...