mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
core: never use hw cursors when tearing
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user