mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-05 19:08:18 +00:00
xwayland: fix game permanent blackscreen (#11542)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user