ham@polya.Stanford.EDU (Peter R. Ham) (11/20/88)
I'm trying to make a black square follow the mouse as the user drags it along. I erase and draw my box into a pixmap the size of the window and then copy the pixmap onto the window after every move. I get alot of flickering. It seems that the buttom of my box (on a sun4) gets updated before the top. Could screen refresh actually be so slow that it isn't keeping up with the moving box? What are the standard techniques to make motion smooth in X? I'm trying to learn from the public domain window managers, but they usually only move outlines of windows, not arbitary objects. Peter -- Peter Ham PO Box 3430 (415) 321-5746 MS Computer Science Student Stanford, CA ham@polya.stanfor.edu Stanford University 94309