aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-10-05 14:40:03 +0100
committerVaxry <[email protected]>2024-10-05 14:40:03 +0100
commit6fbfeefc7119ff86411b765aa26b4bffbaa825ec (patch)
tree46694e1f78a7a64e2f85bf4f933ab4cda6d85372
parent46bf87c8d1f053284a266d5f0b470073a48a92f6 (diff)
downloadHyprland-6fbfeefc7119ff86411b765aa26b4bffbaa825ec.tar.gz
Hyprland-6fbfeefc7119ff86411b765aa26b4bffbaa825ec.zip
protocolmgr: don't expose the fallback output
-rw-r--r--src/managers/ProtocolManager.cpp3
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))