xcbXorg: Parse devSpec params, connect to Xorg displays
This patch adds some nicely weighty code for connecting to X displays and managing those connections. Attaching devices will automatically connect to their required X display. Removing all devices dependent on a given X display connection will also disconnect from that Xdisplay.
This commit is contained in:
@@ -13,8 +13,8 @@ namespace sense_api {
|
||||
*/
|
||||
typedef int (sal_mho_initializeRdyFn)(void);
|
||||
typedef int (sal_mho_finalizeRdyFn)(void);
|
||||
typedef int (sal_mho_attachDeviceAckFn)(const device::SenseDeviceSpec *const desc);
|
||||
typedef int (sal_mho_detachDeviceAckFn)(const device::SenseDeviceSpec *const desc);
|
||||
typedef int (sal_mho_attachDeviceAckFn)(const device::SenseDeviceSpec &desc);
|
||||
typedef int (sal_mho_detachDeviceAckFn)(const device::SenseDeviceSpec &desc);
|
||||
|
||||
struct Sal_Mgmt_HkOps
|
||||
{
|
||||
@@ -30,8 +30,8 @@ struct Sal_Mgmt_HkOps
|
||||
|
||||
typedef int (sal_mlo_initializeIndFn)(void);
|
||||
typedef int (sal_mlo_finalizeIndFn)(void);
|
||||
typedef int (sal_mlo_attachDeviceReqFn)(const device::SenseDeviceSpec *const desc);
|
||||
typedef int (sal_mlo_detachDeviceReqFn)(const device::SenseDeviceSpec *const desc);
|
||||
typedef int (sal_mlo_attachDeviceReqFn)(const device::SenseDeviceSpec &desc);
|
||||
typedef int (sal_mlo_detachDeviceReqFn)(const device::SenseDeviceSpec &desc);
|
||||
|
||||
struct Sal_Mgmt_LibOps
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user