[*][naviframe] merge with 69354 for fixing focus problem when popping
authorWooHyun Jung <wh0705.jung@samsung.com>
Thu, 15 Mar 2012 05:51:31 +0000 (14:51 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Thu, 15 Mar 2012 05:51:31 +0000 (14:51 +0900)
src/lib/elc_naviframe.c

index 005abc4..b36ead5 100644 (file)
@@ -892,6 +892,11 @@ _show_finished(void *data,
    wd =  elm_widget_data_get(WIDGET(it));
    if (!wd) return;
 
+   // FIXME : If current top's content is unfocusable, it should be restored as focusable.
+   // Similar cases are should be checked and should call following function.
+   if (elm_widget_tree_unfocusable_get(it->content))
+     elm_widget_tree_unfocusable_set(it->content, EINA_FALSE);
+
    evas_object_smart_callback_call(WIDGET(it),
                                    SIG_TRANSITION_FINISHED,
                                    data);