protocols/workspace: avoid crash on inert outputs
This commit is contained in:
parent
fe6a855bbb
commit
703394affb
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ CExtWorkspaceGroupResource::CExtWorkspaceGroupResource(WP<CExtWorkspaceManagerRe
|
|||
|
||||
m_resource->sendCapabilities(sc<extWorkspaceGroupHandleV1GroupCapabilities>(0));
|
||||
|
||||
if (!PROTO::outputs.contains(m_monitor->m_name))
|
||||
return;
|
||||
|
||||
const auto& output = PROTO::outputs.at(m_monitor->m_name);
|
||||
|
||||
if (auto resource = output->outputResourceFrom(m_resource->client()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue