parent
121c6ac3ea
commit
1423707dbe
6 changed files with 49 additions and 3 deletions
|
|
@ -105,3 +105,7 @@ void CWLOutputProtocol::remove() {
|
|||
defunct = true;
|
||||
removeGlobal();
|
||||
}
|
||||
|
||||
bool CWLOutputProtocol::isDefunct() {
|
||||
return defunct;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue