diff options
author | Vaxry <[email protected]> | 2024-05-14 16:45:01 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-05-14 16:45:12 +0100 |
commit | 4cdddcfe466cb21db81af0ac39e51cc15f574da9 (patch) | |
tree | b611a07bb07de0d29d082eb2d168f2c236a6c5cf /src/render | |
parent | d0a4a0e0d8ecc0a47c0bcfbf84c090cae8cee7af (diff) | |
download | Hyprland-4cdddcfe466cb21db81af0ac39e51cc15f574da9.tar.gz Hyprland-4cdddcfe466cb21db81af0ac39e51cc15f574da9.zip |
cursor: minor fixes for unhiding surfaces
the surface equality check is done in CPointerManager, the one in renderer can be wrong
fixes #5975
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Renderer.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 2574a015..d9529b6f 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -2255,9 +2255,6 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR void CHyprRenderer::setCursorSurface(CWLSurface* surf, int hotspotX, int hotspotY, bool force) { m_bCursorHasSurface = surf; - if (surf == m_sLastCursorData.surf && hotspotX == m_sLastCursorData.hotspotX && hotspotY == m_sLastCursorData.hotspotY && !force) - return; - m_sLastCursorData.name = ""; m_sLastCursorData.surf = surf; m_sLastCursorData.hotspotX = hotspotX; |