[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/aqua
Boris Dušek
me at dusek.me
Sun Jul 28 11:52:40 PDT 2013
vcl/aqua/source/a11y/aqua11yfocuslistener.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 37eb789055b3b079fc8f6784832822f85dab2d0e
Author: Boris Dušek <me at dusek.me>
Date: Sun Jul 21 22:05:59 2013 +0200
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 at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx b/vcl/aqua/source/a11y/aqua11yfocuslistener.cxx
index 5a0c339..ace2616 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 &) {
More information about the Libreoffice-commits
mailing list