From 99e3daf1881741029e8b8caab2754639e71df83d Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Fri, 3 Sep 2021 13:05:12 +0900 Subject: [PATCH] ecore_wl2_window: add fallback code for ecore_wl2_window_transient_parent_set If the tizen_policy version is not supported tizen_policy_set_parent_with_below, then ecore_wl2_window_transient_parent_set calls the ecore_wl2_window_parent_set instead. @tizen_only Change-Id: I83280f30c59e0eadab63daaa043910c5b9f7f5bd Signed-off-by: Doyoun Kang --- src/lib/ecore_wl2/ecore_wl2_window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index 075470e..3e4e096 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c @@ -1663,6 +1663,7 @@ ecore_wl2_window_transient_parent_set(Ecore_Wl2_Window *window, Ecore_Wl2_Window { ERR("ecore_wl2_window_transient_parent_set is not supported in this version:%d (required version:%d)", ver, TIZEN_POLICY_SET_PARENT_WITH_BELOW_SINCE_VERSION); + ecore_wl2_window_parent_set(window, parent); return; } -- 2.7.4