diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-17 16:08:54 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-17 16:08:59 +0000 |
| commit | 30c5911718c02e0215bf0006faa6aa229558a501 (patch) | |
| tree | 4cd1d76c8ed861f9294d82046df41e5a761bc898 /src/Window.cpp | |
| parent | 3c21f5e07b853b1b37a7aa38a5084a114f0c1983 (diff) | |
renderer: minor fixups for misaligned surface rendering offsets
fixes #5136
Diffstat (limited to 'src/Window.cpp')
| -rw-r--r-- | src/Window.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index c6c958ba..59ad5a3b 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -1058,6 +1058,9 @@ bool CWindow::opaque() { if (m_fAlpha.value() != 1.f || m_fActiveInactiveAlpha.value() != 1.f) return false; + if (m_vRealSize.goal().floor() != m_vReportedSize) + return false; + const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(m_iWorkspaceID); if (m_pWLSurface.small() && !m_pWLSurface.m_bFillIgnoreSmall) |
