mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
protocolmgr: don't expose the fallback output
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user