Originally reported as:
If you have a set of redirected windows (that don't clip the
parent window), and then map a window above them that isn't
redirected, such as the composite overlay window, the border
clip for the redirected windows becomes invalid due to a logic
error in miValidateTree, and this spreads eventually to the
parent window as well.
The symptom is then then that drawing on the parent window
isn't clipped by the non-redirected window, causing various
types of visual corruption and artifacts.
Author: Keith Packard <email@example.com>
Date: Sun May 4 21:51:08 2008 -0700
Empty the borderClip of manual redirect windows. (bug 15823)
Thanks to Owen Taylor for root-causing this one.
If a TreatAsTransparent window has any area in the borderClip, that will be
added to the totalClip region for use by other windows. That's wrong.
Instead, simply empty the borderClip for TreatAsTransparent windows right up
Cherry-picked to 1.5 branch. Thanks!
on Jul 25, 2016 at 06:10:53.
(provided by the Example extension).