xwayland: fix game permanent blackscreen (#11542)
This commit is contained in:
parent
4e8657568c
commit
4b2bfbd85f
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ void CXWaylandSurface::configure(const CBox& box) {
|
||||||
void CXWaylandSurface::activate(bool activate) {
|
void CXWaylandSurface::activate(bool activate) {
|
||||||
if (m_overrideRedirect && !activate)
|
if (m_overrideRedirect && !activate)
|
||||||
return;
|
return;
|
||||||
|
setWithdrawn(false);
|
||||||
g_pXWayland->m_wm->activateSurface(m_self.lock(), activate);
|
g_pXWayland->m_wm->activateSurface(m_self.lock(), activate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue