[comp.sys.atari.st.tech] Question on redrawing window's work area...

jfbruno@rodan.acs.syr.edu (John Bruno) (06/01/91)

I'm using evnt_multi() to check for window redraw messages, and everything
works as expected except for this one situation:

Say you have 2 overlapping windows "A" and "B" like this:

                          +-------- B --------+
                          |                   |
              +========= A =========+         |
              |                     |         |
              |                     |         |
              |                     |         |
              +---------------------+         |
                          |                   |
                          +-------------------+

If I slide "A" to the left by a little bit, I get a redraw message for 
window "B" specifying the newly uncovered region that needs to be redrawn. 
This works fine and is as expected.

However, If I click on "B" to bring it to the top, I get a message specifying
that the entire window area of "B" needs redrawing.  Obviously, parts of "B"
that are already visible don't need to be redrawn, but I get a large "rect".
Is this the way ST GEM is supposed to treat bringing a window to the top??

---jb (jfbruno@rodan.acs.syr.edu)