{
DBus::DBusClient listenOnAtspiEnabledSignalClient;
DBus::DBusClient registryClient, directReadingClient;
+ DBus::DBusClient2 atspiEnabledSignalClient;
bool screenReaderEnabled = false;
bool isEnabled = false;
bool isShown = false;
void Initialize() override
{
+ atspiEnabledSignalClient = DBus::DBusClient2{A11yDbusName, A11yDbusPath, A11yDbusStatusInterface, DBus::ConnectionType::SESSION};
+
auto req = DBus::DBusClient{A11yDbusName, A11yDbusPath, A11yDbusStatusInterface, DBus::ConnectionType::SESSION};
auto p = req.property<bool>("ScreenReaderEnabled").get();
if(p)