From a19be1863405fa4dd5c970946d0f3f59d06b74f1 Mon Sep 17 00:00:00 2001
From: David Krutsko
Date: Sun, 13 Aug 2017 17:35:43 -0400
Subject: [PATCH 1/2] Updated README file (#86, fixes #84)
---
README.md | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index 00874bc..0109dc0 100644
--- a/README.md
+++ b/README.md
@@ -4,27 +4,18 @@
-
- Native System Automation
-
+Native System Automation
-
+
-
-
-
-
-
-
-
+
-
+
-
-
+
From bb4dc1977cb22bb005aacb8c032ad7836b89e2b6 Mon Sep 17 00:00:00 2001
From: Seongmin Kim <32640908+seongmin-kim@users.noreply.github.com>
Date: Thu, 4 Jan 2018 00:42:17 +0900
Subject: [PATCH 2/2] fixed window activation failure condition on macOS
# line 1795
- if (AXUIElementPerformAction (window.mData->AxID, kAXRaiseAction) == kAXErrorSuccess)
+ if (AXUIElementPerformAction (window.mData->AxID, kAXRaiseAction) != kAXErrorSuccess)
---
Source/Window.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Source/Window.cc b/Source/Window.cc
index 204f146..ab3b98e 100644
--- a/Source/Window.cc
+++ b/Source/Window.cc
@@ -1793,7 +1793,7 @@ void Window::SetActive (const Window& window)
// Attempt to raise the specified window object
if (AXUIElementPerformAction (window.mData->AxID,
- kAXRaiseAction) == kAXErrorSuccess)
+ kAXRaiseAction) != kAXErrorSuccess)
{
pid_t pid = 0;
// Attempt to retrieve the PID of the window