• Ville Syrjälä's avatar
    composite: Support updating an arbitrary subtree · f3480286
    Ville Syrjälä authored
    Rename compUpdateWindow to compPaintWindowToParent and split the child
    walk to compPaintChildrenToWindow. Calling compPaintChildrenToWindow
    allows an arbitrary subtree to be updated, instead of having to update
    all the windows. This will be used to make sure all the descendants are
    copied to the parent when the parent window contents need to be accessed
    in IncludeInferios sub-window mode.
    
    WindowRec has a new member 'damagedDescendants' that is used to keep
    track of which subtrees need updating. When a window is damaged,
    'damagedDescendants' will be set for all the ancestors, and when a
    subtree is updated, the tree walk can be stopped early if no damaged
    descendants are present.
    
    CompScreenRec no longer needs the 'damaged' member since the root
    window's 'damagedDescendants' provides the same information.
    Signed-off-by: default avatarVille Syrjälä <ville.syrjala@nokia.com>
    Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
    f3480286
Name
Last commit
Last update
..
Makefile.am Loading commit data...
compalloc.c Loading commit data...
compext.c Loading commit data...
compinit.c Loading commit data...
compint.h Loading commit data...
compositeext.h Loading commit data...
compoverlay.c Loading commit data...
compwindow.c Loading commit data...