renderer: only commit hw cursor stuff if needed (#9654)

This commit is contained in:
Ikalco
2025-03-17 16:06:41 -05:00
committed by GitHub
parent c4f46473df
commit 5f60fc7d00
3 changed files with 29 additions and 5 deletions

View File

@@ -158,6 +158,7 @@ class CMonitor {
// for direct scanout
PHLWINDOWREF lastScanout;
bool scanoutNeedsCursorUpdate = false;
struct {
bool canTear = false;