diff options
author | Vaxry <[email protected]> | 2024-04-19 22:16:35 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-19 22:16:35 +0100 |
commit | b52a49b4c4c344784b3085cb93d3882d3ce9b4bb (patch) | |
tree | a8c3ab6cf77cec5e22565f0f2a3adacfaa6edf30 /src/desktop/Window.cpp | |
parent | 1016faea53fd2d6a9bc12340425230b84676d7cd (diff) | |
download | Hyprland-b52a49b4c4c344784b3085cb93d3882d3ce9b4bb.tar.gz Hyprland-b52a49b4c4c344784b3085cb93d3882d3ce9b4bb.zip |
tearing-control: hyprland impl (#5655)
* tearing: hl impl
* format
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r-- | src/desktop/Window.cpp | 8 |
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; |