Skip to content

Commit

Permalink
renderer: fix xwayland solitary rechecks (#6295)
Browse files Browse the repository at this point in the history
  • Loading branch information
shezdy committed Jun 1, 2024
1 parent a54ab30 commit 0ebb43c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/desktop/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ebb43c

Please sign in to comment.