canonical/mir

WindowManager::add_display()/remove_display()

Open

#2148 aperta il 20 ago 2021

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)C++ (137 fork)auto 404
Good first issue

Metriche repository

Star
 (775 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

In one of the implementations of this interface SystemCompositorWindowManager we have:

    void add_display(mir::geometry::Rectangle const& area) override
    __attribute__((deprecated("Mir doesn't reliably call this: it is ignored. Use add_display_for_testing() instead")));

And, in this implementation, the outputs are tracked by the ActiveOutputsListener interface.

But the other implementation SystemCompositorWindowManager uses this function to track the outputs.

There's clearly something wrong with the diagnostic, one of the implementations, or several of these.

Guida contributor