minor fixes for mirrors & log more monitor events

This commit is contained in:
vaxerski
2022-11-19 13:01:32 +00:00
parent 250d61e0b3
commit e887149f25
5 changed files with 22 additions and 5 deletions

View File

@@ -142,6 +142,8 @@ void CMonitor::onDisconnect() {
if (!m_bEnabled || g_pCompositor->m_bIsShuttingDown)
return;
Debug::log(LOG, "onDisconnect called for %s", output->name);
// Cleanup everything. Move windows back, snap cursor, shit.
CMonitor* BACKUPMON = nullptr;
for (auto& m : g_pCompositor->m_vMonitors) {