diff options
author | Vaxry <[email protected]> | 2023-11-10 18:49:15 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-10 18:49:15 +0000 |
commit | 92cb44ddb2b464d1ef770ba1f4c79eafecae065b (patch) | |
tree | 33a1395faa7a78e336a9746c02f836dc71973e2a | |
parent | b8a615ffb892aaa35a15dc732208bb7ad2a60209 (diff) | |
download | Hyprland-92cb44ddb2b464d1ef770ba1f4c79eafecae065b.tar.gz Hyprland-92cb44ddb2b464d1ef770ba1f4c79eafecae065b.zip |
input: don't schedule repaint on cursor move if hardware cursors are in use
-rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index d7733e96..78ed3d71 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -112,7 +112,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { if (*PZOOMFACTOR != 1.f) g_pHyprRenderer->damageMonitor(PMONITOR); - if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor()) + if (!PMONITOR->solitaryClient && g_pHyprRenderer->shouldRenderCursor() && PMONITOR->output->software_cursor_locks > 0) g_pCompositor->scheduleFrameForMonitor(PMONITOR); CWindow* forcedFocus = m_pForcedFocus; |