On Mon, 2010-12-13 at 19:15 +0200, [email protected] wrote:
> From: Ville Syrjälä <[email protected]>
> 
> When window redirection is changed, UnmapWindow() is called internally,
> which leads to windows temporarily getting unrealized. When a window is
> unrealized, ClipNotify() is called with an empty clip. In the case of
> Xv this leads to video overlays blinking off and on in a very annoying
> fashion. Suppress these ClipNotify() calls around the UnmapWindow()
> calls made from the composite code.
> 
> Signed-off-by: Ville Syrjälä <[email protected]>
> ---
> I'm not 100% sure about the safety of this patch, hence to RFC. However
> it seems to me that all other windows whose clipping may be affected
> should get a ClipNotify via ValidateTree. And the redirected window
> itself will get a ClipNotity again when it gets remapped.

The result from this sounds reasonable and correct.  The implementation
should probably be a new CompositeClipNotify wrapper, rather than
forcing the knowledge into the fb layer.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to