mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-05 15:18:01 +02:00
protocols/workspace: avoid crash on inert outputs
This commit is contained in:
parent
c450f23aeb
commit
461d4721ff
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
Reference in a new issue