mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 00:45:57 +01:00
schedule frames and reloads on session re-activate
This commit is contained in:
parent
a2a12018d9
commit
70d4fadc39
1 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,12 @@ void Events::listener_sessionActive(wl_listener* listener, void* data) {
|
|||
Debug::log(LOG, "Session got activated!");
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue