protocols: add ext-workspace implementation (#10818)
This commit is contained in:
parent
1f337a7a5e
commit
3bbdf9dc5a
11 changed files with 510 additions and 22 deletions
|
|
@ -107,6 +107,7 @@ void CWLOutputProtocol::bindManager(wl_client* client, void* data, uint32_t ver,
|
|||
|
||||
RESOURCE->m_self = RESOURCE;
|
||||
RESOURCE->m_owner = m_self;
|
||||
m_events.outputBound.emit(RESOURCE);
|
||||
}
|
||||
|
||||
void CWLOutputProtocol::destroyResource(CWLOutputResource* resource) {
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ class CWLOutputProtocol : public IWaylandProtocol {
|
|||
void remove();
|
||||
bool isDefunct(); // true if above was called
|
||||
|
||||
struct {
|
||||
CSignal outputBound;
|
||||
} m_events;
|
||||
|
||||
private:
|
||||
void destroyResource(CWLOutputResource* resource);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue