summaryrefslogtreecommitdiff
path: root/vcl/aqua/source
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:03:05 +0000
commite9257fa0e642de2f1c79f2c80387334010812dab (patch)
treee939d4d64ad95f0e2b7528cbc24e2be796fa1db5 /vcl/aqua/source
parent0ec4caed104e409f623f078aafdbc218ea3da347 (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/5155 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'vcl/aqua/source')
-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 &) {