monitor: modernize/refactor last legacy-handled events

This commit is contained in:
Vaxry
2024-10-19 16:21:47 +01:00
parent 48bf32c5de
commit 62ee5cc273
5 changed files with 74 additions and 116 deletions

View File

@@ -3057,5 +3057,5 @@ void CCompositor::onNewMonitor(SP<Aquamarine::IOutput> output) {
}
g_pHyprRenderer->damageMonitor(PNEWMONITOR.get());
Events::listener_monitorFrame(PNEWMONITOR.get(), nullptr);
PNEWMONITOR->onMonitorFrame();
}