aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-23 16:54:32 +0200
committervaxerski <[email protected]>2022-08-23 16:54:32 +0200
commitf9b2aa5468a7598547b4a1d70ffd5495f1448a3b (patch)
tree8a59dfeae51e9e81734715e9025bebf29ba84e7c
parent451659ec3487c5cd09f465327675ccfe463856c3 (diff)
downloadHyprland-f9b2aa5468a7598547b4a1d70ffd5495f1448a3b.tar.gz
Hyprland-f9b2aa5468a7598547b4a1d70ffd5495f1448a3b.zip
don't round popups
-rw-r--r--src/render/Renderer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index b7032f9f..05cde0ba 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -288,7 +288,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
if (mode == RENDER_PASS_ALL || mode == RENDER_PASS_POPUP) {
if (!pWindow->m_bIsX11) {
- renderdata.dontRound = false; // restore dontround
+ renderdata.dontRound = true; // don't round popups
renderdata.pMonitor = pMonitor;
renderdata.squishOversized = false; // don't squish popups
wlr_xdg_surface_for_each_popup_surface(pWindow->m_uSurface.xdg, renderSurface, &renderdata);
@@ -314,6 +314,7 @@ void CHyprRenderer::renderLayer(SLayerSurface* pLayer, CMonitor* pMonitor, times
wlr_surface_for_each_surface(pLayer->layerSurface->surface, renderSurface, &renderdata);
renderdata.squishOversized = false; // don't squish popups
+ renderdata.dontRound = true;
wlr_layer_surface_v1_for_each_popup_surface(pLayer->layerSurface, renderSurface, &renderdata);
}