From b52a49b4c4c344784b3085cb93d3882d3ce9b4bb Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 19 Apr 2024 22:16:35 +0100 Subject: tearing-control: hyprland impl (#5655) * tearing: hl impl * format --- src/desktop/Window.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/desktop/Window.cpp') 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; -- cgit v1.2.3