diff options
| author | shezdy <77217897+shezdy@users.noreply.github.com> | 2024-06-01 12:45:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-01 20:45:30 +0200 |
| commit | 0ebb43c1a37e7321e5ed7223ea85ed555cc82735 (patch) | |
| tree | 9f3e8ebd080d57f3957a886eff6626d3b9b9e723 /src/desktop/Window.cpp | |
| parent | a54ab301602e205f273969c093cf494d38ba4a98 (diff) | |
renderer: fix xwayland solitary rechecks (#6295)
Diffstat (limited to 'src/desktop/Window.cpp')
| -rw-r--r-- | src/desktop/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index 60592452..32f4d882 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -1139,8 +1139,8 @@ bool CWindow::opaque() { if (PWORKSPACE->m_fAlpha.value() != 1.f) return false; - if (m_bIsX11) - return false; + if (m_bIsX11 && m_pXWaylandSurface && m_pXWaylandSurface->surface) + return m_pXWaylandSurface->surface->opaque; if (m_pXDGSurface && m_pXDGSurface->surface->opaque) return true; |
