From 46fad2b716e792d9e0f1b90a6153a881947be84c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 14 Jun 2013 10:03:06 +0100 Subject: [PATCH] Just grab the return window directly from e_canvas. Signed-off-by: Chris Michael --- src/bin/e_wayland/e_popup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_wayland/e_popup.c b/src/bin/e_wayland/e_popup.c index 9b282a4f2..b5b10aa3b 100644 --- a/src/bin/e_wayland/e_popup.c +++ b/src/bin/e_wayland/e_popup.c @@ -47,7 +47,7 @@ e_popup_new(E_Zone *zone, int x, int y, int w, int h) p->ee = e_canvas_new(parent, zone->x + p->x, zone->y + p->y, - p->w, p->h, EINA_TRUE, EINA_FALSE, NULL); + p->w, p->h, EINA_TRUE, EINA_FALSE, &win); if (!p->ee) { free(p); @@ -65,7 +65,7 @@ e_popup_new(E_Zone *zone, int x, int y, int w, int h) e_object_ref(E_OBJECT(p->zone)); zone->popups = eina_list_append(zone->popups, p); - win = ecore_evas_wayland_window_get(p->ee); + /* win = ecore_evas_wayland_window_get(p->ee); */ eina_hash_add(_popups, e_util_winid_str_get(win), p); return p;