Skip to content
  • Jonas Ådahl's avatar
    backend: Set up and use ownership chains · c390f70e
    Jonas Ådahl authored and Marge Bot's avatar Marge Bot committed
    This means objects have an owner, where the chain eventually always
    leads to a MetaContext. This also means that all objects can find their
    way to other object instances via the chain, instead of scattered global
    singletons.
    
    This is a squashed commit originally containing the following:
    
    cursor-tracker: Don't get backend from singleton
    
    idle-manager: Don't get backend from singleton
    
    input-device: Pass pointer to backend during construction
    
    The backend is needed during construction to get the wacom database.
    
    input-mapper: Pass backend when constructing
    
    monitor: Don't get backend from singleton
    
    monitor-manager: Get backend directly from monitor manager
    
    remote: Get backend from manager class
    
    For the remote desktop and screen cast implementations, replace getting
    the backend from singletons with getting it via the manager classes.
    
    launcher: Pass backend during construction
    
    device-pool: Pass backend during construction
    
    Instead of passing the (maybe null) laun...
    c390f70e