Skip to content

Commit ec93f8a

Browse files
authored
socket2: add monitorremovedv2 event (#10229)
1 parent 997fefb commit ec93f8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/helpers/Monitor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ void CMonitor::onDisconnect(bool destroy) {
279279
if (g_pCompositor->m_isShuttingDown)
280280
return;
281281
g_pEventManager->postEvent(SHyprIPCEvent{"monitorremoved", m_name});
282+
g_pEventManager->postEvent(SHyprIPCEvent{"monitorremovedv2", std::format("{},{},{}", m_id, m_name, m_shortDescription)});
282283
EMIT_HOOK_EVENT("monitorRemoved", m_self.lock());
283284
g_pCompositor->arrangeMonitors();
284285
}};

0 commit comments

Comments
 (0)