aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index e98193e1..083c676b 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -379,3 +379,8 @@ void CWindow::updateDynamicRules() {
applyDynamicRule(r);
}
}
+
+bool CWindow::shouldImmediate() {
+ return false; // safeguard. Disabled for now.
+ return m_bTearingHint == 1 || m_sAdditionalConfigData.forceTearing;
+}