mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-14 15:28:22 +00:00
compositor: refactor class member vars (#10141)
This commit is contained in:
@@ -95,8 +95,8 @@ CInputMethodPopupV2::CInputMethodPopupV2(SP<CZwpInputPopupSurfaceV2> resource_,
|
||||
listeners.destroySurface.reset();
|
||||
listeners.commitSurface.reset();
|
||||
|
||||
if (g_pCompositor->m_pLastFocus == pSurface)
|
||||
g_pCompositor->m_pLastFocus.reset();
|
||||
if (g_pCompositor->m_lastFocus == pSurface)
|
||||
g_pCompositor->m_lastFocus.reset();
|
||||
|
||||
pSurface.reset();
|
||||
});
|
||||
|
Reference in New Issue
Block a user