mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 08:10:14 +01:00
core: never use hw cursors when tearing
This commit is contained in:
parent
5bfe6dc703
commit
1a405a7e7c
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue