summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris DuĊĦek <me@dusek.me>2013-07-21 22:05:59 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-07-28 18:52:20 +0000
commit37eb789055b3b079fc8f6784832822f85dab2d0e (patch)
tree8645deafe3b44add80a75dca4401b113100b1978
parentc30fad2fcee46d98a9a2da4cf0c0470f5cc7f34e (diff)
fdo#54320: VoiceOver does not follow keyboard focus
The AXFocusedUIElementChanged notification must have the application object as its parameter, as it is the application object whose AXFocusedUIElement attribute value is changing (and because the docs say so). Change-Id: Ife63a1e59d8a24256ace38fb98b69fd1544f9c96 Reviewed-on: https://gerrit.libreoffice.org/5157 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--vcl/aqua/source/a11y/aqua11yfocuslistener.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx b/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx
index 5a0c339af27b..ace26169637a 100644
--- a/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx
+++ b/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx
@@ -83,7 +83,7 @@ AquaA11yFocusListener::focusedObjectChanged(const Reference< XAccessible >& xAcc
if( xContext.is() )
{
m_focusedObject = [ AquaA11yFactory wrapperForAccessibleContext: xContext ];
- NSAccessibilityPostNotification(m_focusedObject, NSAccessibilityFocusedUIElementChangedNotification);
+ NSAccessibilityPostNotification(NSApp, NSAccessibilityFocusedUIElementChangedNotification);
}
}
} catch(const RuntimeException &) {