screencopy: support hw cursors while sharing with cursor

This commit is contained in:
Vaxry 2025-04-28 20:18:02 +01:00
parent f5c5cfa960
commit c505eb55ff
No known key found for this signature in database
GPG key ID: 665806380871D640
4 changed files with 10 additions and 31 deletions

View file

@ -49,7 +49,8 @@ class CPointerManager {
void unlockSoftwareAll();
bool softwareLockedFor(PHLMONITOR pMonitor);
void renderSoftwareCursorsFor(PHLMONITOR pMonitor, const Time::steady_tp& now, CRegion& damage /* logical */, std::optional<Vector2D> overridePos = {} /* monitor-local */);
void renderSoftwareCursorsFor(PHLMONITOR pMonitor, const Time::steady_tp& now, CRegion& damage /* logical */, std::optional<Vector2D> overridePos = {} /* monitor-local */,
bool forceRender = false);
// this is needed e.g. during screensharing where
// the software cursors aren't locked during the cursor move, but they