schedule frames and reloads on session re-activate

This commit is contained in:
vaxerski 2022-12-02 18:47:57 +00:00
parent a2a12018d9
commit 70d4fadc39

View file

@ -191,6 +191,12 @@ void Events::listener_sessionActive(wl_listener* listener, void* data) {
Debug::log(LOG, "Session got activated!"); Debug::log(LOG, "Session got activated!");
g_pCompositor->m_bSessionActive = true; g_pCompositor->m_bSessionActive = true;
for (auto& m : g_pCompositor->m_vMonitors) {
g_pCompositor->scheduleFrameForMonitor(m.get());
}
g_pConfigManager->m_bWantsMonitorReload = true;
} }
void Events::listener_powerMgrSetMode(wl_listener* listener, void* data) { void Events::listener_powerMgrSetMode(wl_listener* listener, void* data) {