diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c index c7c6694e6f..c0f0a25758 100644 --- a/src/lib/elementary/elm_win.c +++ b/src/lib/elementary/elm_win.c @@ -4359,6 +4359,12 @@ _elm_win_activate(Eo *obj EINA_UNUSED, Elm_Win_Data *sd) TRAP(sd, activate); } +EOLIAN static void +_elm_win_raise(Eo *obj EINA_UNUSED, Elm_Win_Data *sd) +{ + TRAP(sd, raise); +} + EOLIAN static void _elm_win_center(Eo *obj, Elm_Win_Data *sd, Eina_Bool h, Eina_Bool v) { @@ -5938,13 +5944,4 @@ elm_win_lower(Evas_Object *obj) TRAP(sd, lower); } -EAPI void -elm_win_raise(Evas_Object *obj) -{ - ELM_WIN_CHECK(obj); - ELM_WIN_DATA_GET_OR_RETURN(obj, sd); - - TRAP(sd, raise); -} - #include "elm_win.eo.c" diff --git a/src/lib/elementary/elm_win.eo b/src/lib/elementary/elm_win.eo index 69f81d2567..60bf3f920e 100644 --- a/src/lib/elementary/elm_win.eo +++ b/src/lib/elementary/elm_win.eo @@ -1105,6 +1105,13 @@ class Elm.Win (Elm.Widget, Elm.Interface_Atspi_Window, window will be the active one after it. ]] } + raise { + [[Raise a window object. + + Places the window pointed by $obj at the top of the stack, so + that it's not covered by any other window. + ]] + } center { [[Center a window on its screen diff --git a/src/lib/elementary/elm_win_legacy.h b/src/lib/elementary/elm_win_legacy.h index cd063968aa..7a7e3f62da 100644 --- a/src/lib/elementary/elm_win_legacy.h +++ b/src/lib/elementary/elm_win_legacy.h @@ -378,19 +378,6 @@ EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override); */ EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj); -/** - * @brief Raise a window object. - * - * Places the window pointed by @c obj at the top of the stack, so that it's - * not covered by any other window. - * - * If @ref elm_win_override_set is not set, the Window Manager may ignore this - * request. - * - * @ingroup Elm_Win - */ -EAPI void elm_win_raise(Evas_Object *obj); - /** * @brief Lower a window object. *