mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 22:09:49 +01:00
renderer: fix xwayland solitary rechecks (#6295)
This commit is contained in:
parent
a54ab30160
commit
0ebb43c1a3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue