[java-atk-wrapper] Notify when object gets focus



commit 72d5cad0b0f104650eabb046dd57b329f93d4874
Author: Magdalen Berns <m berns thismagpie com>
Date:   Tue Nov 18 12:35:17 2014 +0000

    Notify when object gets focus
    
    So focus should be true
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=740172

 jni/src/AtkWrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index 91ef379..7f5114c 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -286,7 +286,7 @@ focus_notify_handler (gpointer p)
   }
 
   AtkObject* atk_obj = ATK_OBJECT(jaw_impl);
-  atk_object_notify_state_change(atk_obj, ATK_STATE_FOCUSED, FALSE);
+  atk_object_notify_state_change(atk_obj, ATK_STATE_FOCUSED, TRUE);
 
   free_callback_para(para);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]