Bug 5274 - Raising a redirected window on top of an unredircted window generates background painting and exposes
Summary: Raising a redirected window on top of an unredircted window generates backgro...
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact: Xorg Project Team
Depends on:
Reported: 2005-12-08 07:38 UTC by Søren Sandmann Pedersen
Modified: 2014-04-07 17:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Test program (3.75 KB, text/plain)
2005-12-08 07:38 UTC, Søren Sandmann Pedersen
no flags Details
Proposed fix (771 bytes, patch)
2005-12-17 09:34 UTC, Søren Sandmann Pedersen
no flags Details | Splinter Review

Description Søren Sandmann Pedersen 2005-12-08 07:38:12 UTC
If a redirected window is completely covered by a non-redirected sibling, and 
the redirected window is raised on top of the non-redirected one, the redirected
window has its background painted, and gets sent expose events.

More details in the comments in the soon-to-be-attached test program.
Comment 1 Søren Sandmann Pedersen 2005-12-08 07:38:35 UTC
Created attachment 4036 [details]
Test program
Comment 2 Søren Sandmann Pedersen 2005-12-17 09:34:44 UTC
Created attachment 4114 [details] [review]
Proposed fix

This patch fixes the issue for me and does not at first test seem to produce
any problems. I'd appreciate a review from someone more versed in dix/mi
(Is the comment accurate for example, that it is just an optimization?)
Comment 3 Daniel Stone 2007-02-27 01:29:14 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 chemtech 2013-03-15 14:42:41 UTC
Søren Sandmann Pedersen
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 5 Adam Jackson 2014-04-07 17:36:13 UTC
Attached testcase appears to dtrt in 1.16.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.