diff options
Diffstat (limited to 'src/desktop/Window.cpp')
| -rw-r--r-- | src/desktop/Window.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index 861fc2b2..c7fd6b0b 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -802,6 +802,10 @@ void CWindow::applyDynamicRule(const SP<CWindowRule>& r) { m_windowData.persistentSize = CWindowOverridableVar(true, PRIORITY_WINDOW_RULE); break; } + case CWindowRule::RULE_NOVRR: { + m_windowData.noVRR = CWindowOverridableVar(true, priority); + break; + } default: break; } } @@ -821,6 +825,7 @@ void CWindow::updateDynamicRules() { m_windowData.inactiveBorderColor.unset(PRIORITY_WINDOW_RULE); m_windowData.renderUnfocused.unset(PRIORITY_WINDOW_RULE); + m_windowData.noVRR.unset(PRIORITY_WINDOW_RULE); m_idleInhibitMode = IDLEINHIBIT_NONE; |
