From f9fcfe85960d356c01ebb217b6a38c274d87fe3d Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 15 Nov 2019 15:32:52 +0900 Subject: [PATCH] Revert "e_hwc_windows: check target buffer changed after setting transition" This reverts commit c3435be4f0e096f1dc60d718730808aed99109f5. Change-Id: I485502d24fe436135642b2464a3047ab50c6a8d2 --- src/bin/e_hwc_windows.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index 0ae16ea8b2..cbe9003b7d 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -1742,6 +1742,10 @@ _e_hwc_windows_transition_check(E_Hwc *hwc) if (hwc_window->transition_failures > target_hwc_window->max_transition_failures) continue; + if ((((E_Hwc_Window *)target_hwc_window)->display.buffer.tsurface) == + (((E_Hwc_Window *)target_hwc_window)->buffer.tsurface)) + return EINA_TRUE; + /* DEVICE -> CLIENT */ if ((hwc_window->accepted_state == E_HWC_WINDOW_STATE_DEVICE) && (hwc_window->state == E_HWC_WINDOW_STATE_CLIENT)) @@ -1814,11 +1818,7 @@ _e_hwc_windows_transition_check(E_Hwc *hwc) } } - if ((((E_Hwc_Window *)target_hwc_window)->display.buffer.tsurface) == - (((E_Hwc_Window *)target_hwc_window)->buffer.tsurface)) - return EINA_TRUE; - - return transition; + return transition; } static Eina_Bool -- 2.34.1