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

- Built with Robot + Built with Robot - - Version 2.0.0 - - - Chat on Gitter - - + Version 2.0.0 - Docs API + Docs API - - ZLIB Licensed + ZLIB Licensed

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