summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 050e82b9e..5f0234c06 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -5613,14 +5613,14 @@ _elm_win_window_id_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
5613 { 5613 {
5614#if HAVE_ELEMENTARY_WL2 5614#if HAVE_ELEMENTARY_WL2
5615 if (sd->wl.win) 5615 if (sd->wl.win)
5616 return (Ecore_Window)ecore_wl2_window_surface_id_get(sd->wl.win); 5616 return (Ecore_Window)ecore_wl2_window_id_get(sd->wl.win);
5617 if (sd->parent) 5617 if (sd->parent)
5618 { 5618 {
5619 Ecore_Wl2_Window *parent; 5619 Ecore_Wl2_Window *parent;
5620 5620
5621 parent = elm_win_wl_window_get(sd->parent); 5621 parent = elm_win_wl_window_get(sd->parent);
5622 if (parent) 5622 if (parent)
5623 return (Ecore_Window)ecore_wl2_window_surface_id_get(parent); 5623 return (Ecore_Window)ecore_wl2_window_id_get(parent);
5624 return 0; 5624 return 0;
5625 } 5625 }
5626#endif 5626#endif