reintroduced AXIsProcessTrusted call, shouldn't break ax stuff
This commit is contained in:
parent
41c1319134
commit
826cd7e60b
|
@ -119,9 +119,9 @@ COSXScreen::COSXScreen(IEventQueue* events, bool isPrimary, bool autoShowHideCur
|
||||||
|
|
||||||
#if defined(MAC_OS_X_VERSION_10_9)
|
#if defined(MAC_OS_X_VERSION_10_9)
|
||||||
// we can't pass options to show the dialog, this must be done by the gui.
|
// we can't pass options to show the dialog, this must be done by the gui.
|
||||||
//if (!AXIsProcessTrusted()) {
|
if (!AXIsProcessTrusted()) {
|
||||||
// throw XArch("assistive devices does not trust this process, allow it in system settings.");
|
throw XArch("assistive devices does not trust this process, allow it in system settings.");
|
||||||
//}
|
}
|
||||||
#else
|
#else
|
||||||
// now deprecated in mavericks.
|
// now deprecated in mavericks.
|
||||||
if (!AXAPIEnabled()) {
|
if (!AXAPIEnabled()) {
|
||||||
|
|
Loading…
Reference in New Issue