summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_widget.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 423e313db9..553de7c3aa 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1088,7 +1088,7 @@ _propagate_event_legacy(Eo *parent, const Efl_Event *event, Eo *obj, Elm_Event_C
1088 ((*event_flags) & EVAS_EVENT_FLAG_ON_HOLD)) 1088 ((*event_flags) & EVAS_EVENT_FLAG_ON_HOLD))
1089 { 1089 {
1090 if (prev_flags != *event_flags) 1090 if (prev_flags != *event_flags)
1091 efl_input_event_flags_set(event->info, *event_flags); 1091 efl_input_event_flags_set(event->info, (Efl_Input_Flags)*event_flags);
1092 return EINA_TRUE; 1092 return EINA_TRUE;
1093 } 1093 }
1094 1094
@@ -3171,7 +3171,7 @@ elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode)
3171EOLIAN static Efl_Ui_Focus_Move_Policy 3171EOLIAN static Efl_Ui_Focus_Move_Policy
3172_efl_ui_widget_focus_move_policy_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) 3172_efl_ui_widget_focus_move_policy_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
3173{ 3173{
3174 return sd->focus_move_policy; 3174 return (Efl_Ui_Focus_Move_Policy)sd->focus_move_policy;
3175} 3175}
3176 3176
3177/** 3177/**
@@ -3187,7 +3187,7 @@ EOLIAN static void
3187_efl_ui_widget_focus_move_policy_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Efl_Ui_Focus_Move_Policy policy) 3187_efl_ui_widget_focus_move_policy_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Efl_Ui_Focus_Move_Policy policy)
3188{ 3188{
3189 if (sd->focus_move_policy == (Elm_Focus_Move_Policy)policy) return; 3189 if (sd->focus_move_policy == (Elm_Focus_Move_Policy)policy) return;
3190 sd->focus_move_policy = policy; 3190 sd->focus_move_policy = (Elm_Focus_Move_Policy)policy;
3191} 3191}
3192 3192
3193/** 3193/**
@@ -3221,7 +3221,8 @@ _efl_ui_widget_focus_move_policy_automatic_set(Eo *obj, Elm_Widget_Smart_Data *s
3221 3221
3222 if (automatic) 3222 if (automatic)
3223 { 3223 {
3224 efl_ui_widget_focus_move_policy_set(obj, elm_config_focus_move_policy_get()); 3224 efl_ui_widget_focus_move_policy_set
3225 (obj, (Efl_Ui_Focus_Move_Policy)elm_config_focus_move_policy_get());
3225 } 3226 }
3226 } 3227 }
3227} 3228}