• Adam Jackson's avatar
    Implement core protocol backing store exclusively in terms of Composite. · ae7f71a8
    Adam Jackson authored
    Composite's automatic redirection is a more general mechanism than the
    ad-hoc BS machinery, so it's much prettier to implement the one in terms
    of the other.  Composite now wraps ChangeWindowAttributes and activates
    automatic redirection for windows with backing store requested.  The old
    backing store infrastructure is completely gutted: ABI-visible structures
    retain the function pointers, but they never get called, and all the
    open-coded conditionals throughout the DIX layer to implement BS are gone.
    
    Note that this is still not a strictly complete implementation of backing
    store, since Composite will throw the bits away on unmap and therefore
    WhenMapped and Always hints are equivalent.
    ae7f71a8
compint.h 7.94 KB