aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 16:45:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commitf88f0798bafd91c0188f50c303fd0263dba3c9c4 (patch)
tree222d8b48a0ef3223b1c44004ff6a01911b7fca5a /src/lib/elementary/efl_ui_win.c
parentfocus: Fix shadow warning (diff)
downloadefl-f88f0798bafd91c0188f50c303fd0263dba3c9c4.tar.gz
win: Implement raise from stack (EO)
I think the intercept is not required anymore. All raise functions call the ecore evas raise function. Ref https://phab.enlightenment.org/T5322
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 6b0ad4d63d..d4bea99f22 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -816,6 +816,7 @@ _elm_win_associate_get(const Ecore_Evas *ee)
static void
_elm_win_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
{
+ // Note: This is probably not necessary anymore (Win implements raise)
ELM_WIN_DATA_GET(data, sd);
TRAP(sd, raise);
}
@@ -5544,9 +5545,15 @@ _efl_ui_win_activate(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
}
EOLIAN static void
-_efl_ui_win_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_gfx_stack_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
{
- TRAP(sd, raise);
+ TRAP(pd, raise);
+}
+
+EAPI void
+elm_win_raise(Eo *obj)
+{
+ efl_gfx_stack_raise(obj);
}
EOLIAN static void