mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 21:05:58 +01:00
parent
61378380ee
commit
b500e5699b
1 changed files with 1 additions and 1 deletions
|
@ -2147,7 +2147,7 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
|
|||
void CHyprRenderer::setCursorSurface(wlr_surface* surf, int hotspotX, int hotspotY, bool force) {
|
||||
m_bCursorHasSurface = surf;
|
||||
|
||||
if ((surf == m_sLastCursorData.surf || m_bCursorHidden) && !force)
|
||||
if ((surf == m_sLastCursorData.surf || m_bCursorHidden) && hotspotX == m_sLastCursorData.hotspotX && hotspotY == m_sLastCursorData.hotspotY && !force)
|
||||
return;
|
||||
|
||||
m_sLastCursorData.name = "";
|
||||
|
|
Loading…
Reference in a new issue