fix: fix damage issues

This commit is contained in:
Virt 2024-06-21 16:36:10 +02:00
commit facfa7f356
4 changed files with 38 additions and 3 deletions

View file

@ -7,7 +7,9 @@ class CDynamicCursors;
class CDynamicCursors {
public:
/* hook on renderSoftwareCursorsFor */
void render(CPointerManager* pointers, SP<CMonitor> pMonitor, timespec* now, CRegion& damage, std::optional<Vector2D> overridePos);
void renderSoftware(CPointerManager* pointers, SP<CMonitor> pMonitor, timespec* now, CRegion& damage, std::optional<Vector2D> overridePos);
/* hook on damageIfSoftware*/
void damageSoftware(CPointerManager* pointers);
private:
// calculates the current angle of the cursor