diff options
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index ceaa0979..1c98b5b5 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -3131,6 +3131,9 @@ const std::vector<SConfigOptionDescription>& CConfigManager::getAllDescriptions( bool CConfigManager::shouldUseSoftwareCursors(PHLMONITOR pMonitor) { static auto PNOHW = CConfigValue<Hyprlang::INT>("cursor:no_hardware_cursors"); + if (pMonitor->m_tearingState.activelyTearing) + return true; + switch (*PNOHW) { case 0: return false; case 1: return true; |
