summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r--src/desktop/Window.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index 737d5ef7..35b4ff97 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -535,14 +535,6 @@ void CWindow::onMap() {
m_vReportedSize = m_vPendingReportedSize;
m_bAnimatingIn = true;
- for (const auto& ctrl : g_pHyprRenderer->m_vTearingControllers) {
- if (ctrl->pWlrHint->surface != m_pWLSurface.wlr())
- continue;
-
- m_bTearingHint = ctrl->pWlrHint->current;
- break;
- }
-
if (m_bIsX11)
return;