mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 12:49:50 +01:00
surface: avoid infinite pointer image resets
fixes #3729, should also #3968
This commit is contained in:
parent
cd96ceecc5
commit
9e2b939024
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void CWLSurface::destroy() {
|
|||
if (g_pInputManager->m_pLastMouseSurface == m_pWLRSurface)
|
||||
g_pInputManager->m_pLastMouseSurface = nullptr;
|
||||
if (g_pHyprRenderer->m_sLastCursorData.surf == m_pWLRSurface)
|
||||
g_pInputManager->setCursorImageOverride("left_ptr");
|
||||
g_pHyprRenderer->m_sLastCursorData.surf.reset();
|
||||
|
||||
m_pWLRSurface = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue