From: Changyeon Lee Date: Fri, 18 Oct 2019 05:16:55 +0000 (+0900) Subject: e_hwc_windows: find visible window with effect_client X-Git-Tag: submit/tizen/20191104.053427~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67ce9e4de2d6b0e34bdcf74fe5801a01ef25b1aa;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: find visible window with effect_client some effect module use another evas object instead ec->frame Change-Id: Id6b3817a8a6febd36233389241ed34d371010635 --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index 9be0b3c30f..180ab5fe10 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -576,6 +576,9 @@ _e_hwc_windows_client_get_from_object(Evas_Object *o) eina_list_free(stack); + if (!ec) + ec = evas_object_data_get(o, "effect_client"); + return ec; } @@ -656,7 +659,8 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc) e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_CURSOR, EINA_TRUE); } - windows_list = eina_list_append(windows_list, hwc_window); + if (!eina_list_data_find(windows_list, hwc_window)) + windows_list = eina_list_append(windows_list, hwc_window); if (!ec->argb && E_CONTAINS(x, y, w, h, 0, 0, scr_w, scr_h)) ui_skip = EINA_TRUE;