From f92a86af5367778a752ac2a0e9b32afc2e10fe2f Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 8 Jan 2024 19:58:15 +0100 Subject: [PATCH] renderer: ignore box offsets for fullscreen windows --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 16607739..22613b4f 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -453,7 +453,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec* // clip box for animated offsets const Vector2D PREOFFSETPOS = {renderdata.x, renderdata.y}; - if (!ignorePosition && pWindow->m_bIsFloating && !pWindow->m_bPinned) { + if (!ignorePosition && pWindow->m_bIsFloating && !pWindow->m_bPinned && !pWindow->m_bIsFullscreen) { Vector2D offset; if (PWORKSPACE->m_vRenderOffset.vec().x != 0) {