summaryrefslogtreecommitdiff
path: root/composite/Makefile.am
diff options
context:
space:
mode:
authorVille Syrjala <syrjala@sci.fi>2011-10-09 01:11:04 +0300
committerKeith Packard <keithp@keithp.com>2011-10-19 17:24:23 -0700
commita5266dcb3a60587e1877f90c18552baf60b597a0 (patch)
tree8ca256d80002ffadd06f7213b5735352c63cb5ba /composite/Makefile.am
parente4787ec20b1b9d30fe00f17b60eb0898190bf77d (diff)
composite: Update borderClip in compAllocPixmap()
Previously the parent constrained borderClip was copied over when compRedirectWindow() is called. That is insufficient eg. in case the window was already redirected, but not yet realized. So copy the borderClip over in compAllocPixmap() instead. Example: Window 1 is below an automatically redirect window 2. Window 2 is unmapped and moved outside the extents of window 1. Window 2 is then mapped again, and MarkOverlappedWindows() uses the up to date borderSize of window 2 to mark windows, which leaves window 1 unmarked. Then exposures are calculated using the stale borderClip of window 2, which causes the window below window 2, to be exposed through an apparent hole in window 1. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=22566 Signed-off-by: Ville Syrjala <syrjala@sci.fi> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'composite/Makefile.am')
0 files changed, 0 insertions, 0 deletions