mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +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)
|
if (PWORKSPACE->m_fAlpha.value() != 1.f)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (m_bIsX11)
|
if (m_bIsX11 && m_pXWaylandSurface && m_pXWaylandSurface->surface)
|
||||||
return false;
|
return m_pXWaylandSurface->surface->opaque;
|
||||||
|
|
||||||
if (m_pXDGSurface && m_pXDGSurface->surface->opaque)
|
if (m_pXDGSurface && m_pXDGSurface->surface->opaque)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue