[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - vcl/aqua

Boris Dušek me at dusek.me
Sun Jul 28 11:53:05 PDT 2013


 vcl/aqua/source/a11y/aqua11yfocuslistener.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b9b452a570bea90f27082e5b70aedf9b8f9d421e
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/5158
    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