diff options
-rw-r--r-- | src/lib/elementary/efl_ui_focus_manager_calc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index 00ed4ff20e..b27e3c88ac 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c | |||
@@ -511,7 +511,7 @@ _calculate_node_indirection(Efl_Ui_Focus_Manager_Calc_Data *pd, Efl_Ui_Focus_Obj | |||
511 | //calculate relative position of the nodes | 511 | //calculate relative position of the nodes |
512 | pos = _relative_position_rects(&rect, &op_rect); | 512 | pos = _relative_position_rects(&rect, &op_rect); |
513 | //calculate distance | 513 | //calculate distance |
514 | distance = sqrt(powerof2(pos.x) + powerof2(pos.y)); | 514 | distance = sqrt(pow(pos.x, 2) + pow(pos.y, 2)); |
515 | 515 | ||
516 | if (outside & outside_dir) | 516 | if (outside & outside_dir) |
517 | { | 517 | { |