config: set no_hw_cursors to auto by default and disable on tearing

when tearing, updates to the overlay plane may be ignored by the kernel. To avoid the cursor being a slideshow, disable hw cursors
This commit is contained in:
Vaxry 2025-02-15 00:21:50 +00:00
parent 1309b59f2c
commit 2f967037aa
4 changed files with 8 additions and 6 deletions

View file

@ -189,7 +189,7 @@ class CConfigManager {
void ensureMonitorStatus();
void ensureVRR(PHLMONITOR pMonitor = nullptr);
bool shouldUseSoftwareCursors();
bool shouldUseSoftwareCursors(PHLMONITOR pMonitor);
void updateWatcher();
std::string parseKeyword(const std::string&, const std::string&);