Screen Reader tries to perform the gesture on the special null context object
(currently, the desktop). The DoGesture call in such a case will always fail
(and count as not consumed), so there is no need to even attempt it.
Change-Id: I59f62b7dcb2235852a6960099091976ae79865e8
}
/* check if object consumes gesture */
- if (_gesture_is_consumed(nd, info)) {
+ if (!app_tracker_null_context_is(nd->app_tracker_data) && _gesture_is_consumed(nd, info)) {
g_free(info);
return;
}
app_tracker_new_obj_highlighted_callback_register(nd->app_tracker_data,
_new_highlighted_obj_changed,
nd);
+ app_tracker_null_context_switch(nd->app_tracker_data);
nd->keyboard_tracker_data = keyboard_tracker_init();
keyboard_tracker_register_top_window_info_get(nd->keyboard_tracker_data, app_tracker_top_window_info_get_opaque, nd->app_tracker_data);
smart_notification_init();