SenseApiDesc: SAL_MLO: attach/detachDeviceReq: return parsed DA spec
This commit is contained in:
@@ -285,7 +285,7 @@ static void xcbWindow_attachDeviceReq(
|
||||
<< g_attachedWindows.back()->stringify()
|
||||
<< "\n";
|
||||
|
||||
cb(true);
|
||||
cb(true, desc);
|
||||
}
|
||||
|
||||
static void xcbWindow_detachDeviceReq(
|
||||
@@ -304,7 +304,7 @@ static void xcbWindow_detachDeviceReq(
|
||||
std::cerr << __func__ << ": Device not found for detachment:\n"
|
||||
<< spec->stringify() << "\n";
|
||||
|
||||
cb(false);
|
||||
cb(false, spec);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ static void xcbWindow_detachDeviceReq(
|
||||
std::cout << __func__ << ": Detached X11 window device:\n"
|
||||
<< spec->stringify() << "\n";
|
||||
|
||||
cb(true);
|
||||
cb(true, spec);
|
||||
}
|
||||
|
||||
// SenseApi descriptor
|
||||
|
||||
Reference in New Issue
Block a user