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

New commits:
commit b9b452a570bea90f27082e5b70aedf9b8f9d421e
Author: Boris Dušek <m...@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 <nthieb...@gmail.com>
    Tested-by: Norbert Thiebaud <nthieb...@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 &) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to