[PATCH] present: recursively set window pixmaps on flip

Adam Jackson ajax at nwnk.net
Tue Dec 10 13:22:52 PST 2013


On Tue, 2013-12-10 at 11:32 -0800, Keith Packard wrote:
> Newly created windows inherit the pixmap of their parent, similarly,
> reparenting a tree inherits the pixmap of the destination tree.
> 
> Making present preserve the invariant that unredirected windows always
> have the same pixmap as their parent ensures that the above cases work
> correctly.

I kind of dislike the set_window_pixmap name since it's not actually
wired up as ->SetWindowPixmap.  set_tree_pixmap might be a little
clearer.  But this looks correct, so.

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax



More information about the xorg-devel mailing list