pointer: map devices across all outputs by default (#8352)

This commit is contained in:
JManch 2024-11-11 13:45:33 +00:00 committed by GitHub
parent 1fa0cd7a75
commit 07052a515b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 53 additions and 43 deletions

View file

@ -38,7 +38,7 @@ CVirtualPointer::CVirtualPointer(SP<CVirtualPointerV1Resource> resource) : point
listeners.holdBegin = pointer->events.holdBegin.registerListener([this](std::any d) { pointerEvents.holdBegin.emit(d); });
listeners.holdEnd = pointer->events.holdEnd.registerListener([this](std::any d) { pointerEvents.holdEnd.emit(d); });
boundOutput = resource->boundOutput ? resource->boundOutput->szName : "entire";
boundOutput = resource->boundOutput ? resource->boundOutput->szName : "";
deviceName = pointer->name;
}