mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 18:46:00 +01:00
protocolmgr: don't expose the fallback output
This commit is contained in:
parent
46bf87c8d1
commit
6fbfeefc71
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ CProtocolManager::CProtocolManager() {
|
||||||
|
|
||||||
// ignore mirrored outputs. I don't think this will ever be hit as mirrors are applied after
|
// ignore mirrored outputs. I don't think this will ever be hit as mirrors are applied after
|
||||||
// this event is emitted iirc.
|
// this event is emitted iirc.
|
||||||
if (M->isMirror())
|
// also ignore the fallback
|
||||||
|
if (M->isMirror() || M == g_pCompositor->m_pUnsafeOutput)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (PROTO::outputs.contains(M->szName))
|
if (PROTO::outputs.contains(M->szName))
|
||||||
|
|
Loading…
Reference in a new issue