diff options
author | Vaxry <[email protected]> | 2024-10-05 14:40:03 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-10-05 14:40:03 +0100 |
commit | 6fbfeefc7119ff86411b765aa26b4bffbaa825ec (patch) | |
tree | 46694e1f78a7a64e2f85bf4f933ab4cda6d85372 /src | |
parent | 46bf87c8d1f053284a266d5f0b470073a48a92f6 (diff) | |
download | Hyprland-6fbfeefc7119ff86411b765aa26b4bffbaa825ec.tar.gz Hyprland-6fbfeefc7119ff86411b765aa26b4bffbaa825ec.zip |
protocolmgr: don't expose the fallback output
Diffstat (limited to 'src')
-rw-r--r-- | src/managers/ProtocolManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 8bcc857a..157fa76c 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -86,7 +86,8 @@ CProtocolManager::CProtocolManager() { // ignore mirrored outputs. I don't think this will ever be hit as mirrors are applied after // this event is emitted iirc. - if (M->isMirror()) + // also ignore the fallback + if (M->isMirror() || M == g_pCompositor->m_pUnsafeOutput) return; if (PROTO::outputs.contains(M->szName)) |