output: remove wl_output globals for mirrored displays

ref #6387
This commit is contained in:
Vaxry
2024-06-09 22:28:51 +02:00
parent 121c6ac3ea
commit 1423707dbe
6 changed files with 49 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ class CWLOutputProtocol : public IWaylandProtocol {
// will mark the protocol for removal, will be removed when no. of bound outputs is 0 (or when overwritten by a new global)
void remove();
bool isDefunct(); // true if above was called
private:
void destroyResource(CWLOutputResource* resource);