Bug 5274

Summary: Raising a redirected window on top of an unredircted window generates background painting and exposes
Product: xorg Reporter: Søren Sandmann Pedersen <soren.sandmann>
Component: Server/GeneralAssignee: Adam Jackson <ajax>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: deron.johnson
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Test program
none
Proposed fix none

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
though.
(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.