mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 21:46:00 +01:00
FUCKing
This commit is contained in:
parent
cf2aa782e7
commit
8f2d1a5e69
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ void CFrameSchedulingManager::registerMonitor(CMonitor* pMonitor) {
|
||||||
void CFrameSchedulingManager::unregisterMonitor(CMonitor* pMonitor) {
|
void CFrameSchedulingManager::unregisterMonitor(CMonitor* pMonitor) {
|
||||||
SSchedulingData* DATA = &m_vSchedulingData.emplace_back(SSchedulingData{pMonitor});
|
SSchedulingData* DATA = &m_vSchedulingData.emplace_back(SSchedulingData{pMonitor});
|
||||||
g_pEventLoopManager->removeTimer(DATA->fenceTimer);
|
g_pEventLoopManager->removeTimer(DATA->fenceTimer);
|
||||||
|
g_pEventLoopManager->removeTimer(DATA->vblankTimer);
|
||||||
std::erase_if(m_vSchedulingData, [pMonitor](const auto& d) { return d.pMonitor == pMonitor; });
|
std::erase_if(m_vSchedulingData, [pMonitor](const auto& d) { return d.pMonitor == pMonitor; });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue