nanogui: Update event after GrMoveWindow has wrong rectangle.
Subject:
Re: [nanogui] Update event after GrMoveWindow has wrong rectangle .
From:
Jordan Crouse ####@####.####
Date:
5 Feb 2002 15:52:03 -0000
Message-Id: <E16Y7pJ-0001wc-00@ns.censoft.com>
> Nevertheless non It works except that the exposure region is always the
> full child window. I though it would be clipped by the parent window.
Do you mean that the full child always gets exposed after a move?
If the window is moving down or to the right, then you shouldn't be getting
any expose events at all (unless the window gets covered by another window).
Thats because as you move down and to the right, you are not exposing any
areas that need drawing (and thus, we can blit the window - very fast).
However, when you move up and to the left, you have the potential of exposing
new parts of the window (like if you were moving up from the edge). Then you
get the exposure event. You will get an exposure for the whole child window,
but it will automatically be clipped according to the parent window (and
surrounding windows).
Jordan