[comp.sys.amiga.tech] Why redraw a window when moved?

pds@quintus.UUCP (Peter Schachte) (05/05/88)

Why does Intuition send a REDISPLAY (or whatever it's called -- I don't
have my manuals with me) message to me for a SIMPLE_REFRESH window when
it's moved, even if the window is entirely visible?  Why doesn't
Intuition just bitblt from the old place on the screen to the new place?
This was a surprise to me!
-- 
-Peter Schachte
pds@quintus.uucp
...!sun!quintus!pds

dillon@CORY.BERKELEY.EDU (Matt Dillon) (05/05/88)

:Why does Intuition send a REDISPLAY (or whatever it's called -- I don't
:have my manuals with me) message to me for a SIMPLE_REFRESH window when
:it's moved, even if the window is entirely visible?  Why doesn't
:Intuition just bitblt from the old place on the screen to the new place?
:This was a surprise to me!

	Although moving a window may appear to be trivial, one must
remember that the algorithm involved must deal with the possibility of
other overlapping and underlapping windows.  In this particular case,
I believe that the window's contents does get partially overwritten (or
maybe it's a condition that intuition isn't sure of, and so doesn't 
take any chances).

					-Matt