mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-23 07:53:49 -07:00
@@ -51,6 +51,10 @@ CSessionLockSurface::CSessionLockSurface(SP<CExtSessionLockSurfaceV1> resource_,
|
|||||||
wlr_surface_unmap(pSurface);
|
wlr_surface_unmap(pSurface);
|
||||||
hyprListener_surfaceCommit.removeCallback();
|
hyprListener_surfaceCommit.removeCallback();
|
||||||
hyprListener_surfaceDestroy.removeCallback();
|
hyprListener_surfaceDestroy.removeCallback();
|
||||||
|
|
||||||
|
if (g_pCompositor->m_pLastFocus == pSurface)
|
||||||
|
g_pCompositor->m_pLastFocus = nullptr;
|
||||||
|
|
||||||
pSurface = nullptr;
|
pSurface = nullptr;
|
||||||
},
|
},
|
||||||
this, "SessionLockSurface");
|
this, "SessionLockSurface");
|
||||||
|
Reference in New Issue
Block a user