diff options
author | vaxerski <[email protected]> | 2022-06-24 22:45:30 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-06-24 22:45:30 +0200 |
commit | eb13be1240dfe83b42e26621069aeb09ecf39b66 (patch) | |
tree | 551cc39b1f124cb5086f8d8bd579fd691d678a54 | |
parent | 45a44f969048d232939c6931fe7ab15cf0e85b87 (diff) | |
download | Hyprland-eb13be1240dfe83b42e26621069aeb09ecf39b66.tar.gz Hyprland-eb13be1240dfe83b42e26621069aeb09ecf39b66.zip |
fix one of the stupidest things i've ever written I am embarrassed.
-rw-r--r-- | src/render/Renderer.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 8118af48..4525dde8 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -194,12 +194,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, SMonitor* pMonitor, timespec* g_pHyprOpenGL->m_RenderData.primarySurfaceUVTopLeft = Vector2D(-1, -1); g_pHyprOpenGL->m_RenderData.primarySurfaceUVBottomRight = Vector2D(-1, -1); - if (pWindow->m_bIsX11) { - if (pWindow->m_uSurface.xwayland->surface) { - wlr_surface_for_each_surface(pWindow->m_uSurface.xwayland->surface, renderSurface, &renderdata); - } - } - else { + if (!pWindow->m_bIsX11) { renderdata.dontRound = false; // restore dontround renderdata.pMonitor = pMonitor; wlr_xdg_surface_for_each_popup_surface(pWindow->m_uSurface.xdg, renderSurface, &renderdata); |