elm_atspi_bridge: Active descendant changed signal not sent issue fix.
authorShilpa Singh <shilpa.singh@samsung.com>
Mon, 26 Sep 2016 21:28:09 +0000 (14:28 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 26 Sep 2016 22:01:33 +0000 (15:01 -0700)
Summary:
Active descendant changed signal send function checks for wrong object,
hence always returns with out actually sending signal.

The state is set to pd->object_broadcast_mask and not
pd->object_children_broadcast_mask in _set_broadcast_flag function.

Test Plan:
Send the active descandant changed signal from any widget, but signal
is not sent.

Reviewers: kimcinoo, lukasz.stanislawski, cedric

Reviewed By: cedric

Subscribers: jpeg, govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D4318

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elementary/elm_atspi_bridge.c

index c6c1b77..011570c 100644 (file)
@@ -3925,7 +3925,7 @@ _active_descendant_changed_signal_send(void *data, const Efl_Event *event)
 
    ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
 
-   if (!STATE_TYPE_GET(pd->object_children_broadcast_mask, ATSPI_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED))
+   if (!STATE_TYPE_GET(pd->object_broadcast_mask, ATSPI_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED))
      {
         efl_event_callback_stop(event->object);
         return;