SApiMgr:attDevReq: use body||world thread for i/e-devs

We now pass in the correct ComponentThread based on the type of
device that's being attached.
This commit is contained in:
2025-09-15 12:47:37 -04:00
parent 472184bbbc
commit db8f047322
4 changed files with 35 additions and 10 deletions
+4
View File
@@ -275,9 +275,13 @@ static int xcbWindow_finalizeInd(void)
static void xcbWindow_attachDeviceReq(
const std::shared_ptr<smo::device::DeviceAttachmentSpec>& desc,
const std::shared_ptr<smo::ComponentThread>& componentThread,
smo::sense_api::sal_mlo_attachDeviceReqCbFn cb
)
{
// Not used yet, but may be used later.
(void)componentThread;
g_attachedWindows.emplace_back(
std::make_unique<xcb_window::AttachedWindow>(desc));