From 826cd7e60bf3cb85bfa0b5eb1ee97174b1b79664 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 17 Mar 2014 17:25:18 +0000 Subject: [PATCH] reintroduced AXIsProcessTrusted call, shouldn't break ax stuff --- src/lib/platform/OSXScreen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/platform/OSXScreen.cpp b/src/lib/platform/OSXScreen.cpp index 7f8b8348..4a881b94 100644 --- a/src/lib/platform/OSXScreen.cpp +++ b/src/lib/platform/OSXScreen.cpp @@ -119,9 +119,9 @@ COSXScreen::COSXScreen(IEventQueue* events, bool isPrimary, bool autoShowHideCur #if defined(MAC_OS_X_VERSION_10_9) // we can't pass options to show the dialog, this must be done by the gui. - //if (!AXIsProcessTrusted()) { - // throw XArch("assistive devices does not trust this process, allow it in system settings."); - //} + if (!AXIsProcessTrusted()) { + throw XArch("assistive devices does not trust this process, allow it in system settings."); + } #else // now deprecated in mavericks. if (!AXAPIEnabled()) {