mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-09-28 01:46:17 -04:00
config/propRefresher: schedule frames on screen shader refresh (#14874)
This commit is contained in:
@@ -38,8 +38,16 @@ void CPropRefresher::scheduleRefresh(PropRefreshBits prop) {
|
||||
g_pInputManager->setTabletConfigs(); // update tablets
|
||||
}
|
||||
|
||||
if (m_propsTripped & REFRESH_SCREEN_SHADER)
|
||||
if (m_propsTripped & REFRESH_SCREEN_SHADER) {
|
||||
g_pHyprRenderer->m_reloadScreenShader = true;
|
||||
for (auto const& m : g_pCompositor->m_monitors) {
|
||||
if (!m)
|
||||
continue;
|
||||
|
||||
m->m_forceFullFrames = 2;
|
||||
g_pCompositor->scheduleFrameForMonitor(m);
|
||||
}
|
||||
}
|
||||
|
||||
if (m_propsTripped & REFRESH_BLUR_FB) {
|
||||
for (auto const& m : g_pCompositor->m_monitors) {
|
||||
|
||||
Reference in New Issue
Block a user