aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-19 22:16:35 +0100
committerGitHub <[email protected]>2024-04-19 22:16:35 +0100
commitb52a49b4c4c344784b3085cb93d3882d3ce9b4bb (patch)
treea8c3ab6cf77cec5e22565f0f2a3adacfaa6edf30 /src/desktop/Window.cpp
parent1016faea53fd2d6a9bc12340425230b84676d7cd (diff)
downloadHyprland-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.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;