there was no code to set wayland parent window when elm_win_add(parent,...) is called.
so wayland surface couldn't make relationship (such as transient_for) between the parent and child surface.
Change-Id: I8ff0f9fe25292c647fd36d64fe7d9351abead4c3
sd->obscured = ecore_evas_obscured_get(sd->ee);
if (sd->parent)
- evas_object_event_callback_add
- (sd->parent, EVAS_CALLBACK_DEL, _elm_win_on_parent_del, obj);
+ {
+#ifdef HAVE_ELEMENTARY_WAYLAND
+ ecore_wl_window_parent_set(sd->wl.win, elm_win_wl_window_get(sd->parent));
+#endif
+ evas_object_event_callback_add
+ (sd->parent, EVAS_CALLBACK_DEL, _elm_win_on_parent_del, obj);
+ }
sd->evas = ecore_evas_get(sd->ee);