Skip to content
  • Martin Flöser's avatar
    Call setupCompositing on internal clients on startup of Compositor · 01ee957c
    Martin Flöser authored
    This fixes a regression found in TestSceneQPainter for restarting the
    Compositor. The internal clients were never added to the Scene.
    
    We cannot just call setupCompositing because there is a phase during
    startup where setupCompositing already passes but the Compositor is not
    yet fully initialized. Thus it could happen that it's called twice which
    makes the Scene assert.
    
    To solve that setupCompositing and finishCompositing are now overriden
    in ShellClient and track whether they successfully called
    setupCompositing.
    01ee957c