e_hwc_windows: use max_transition_failures of root target window 02/271402/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 18 Feb 2022 09:00:14 +0000 (18:00 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Feb 2022 01:42:37 +0000 (10:42 +0900)
max_transition_failures of target window is not initialized
because target window does not have queue.
this patch change to use valid max_transition_failures of root
target window.

Change-Id: Ia96f8d277f19509cc2510201e3c2711e1b141ee9

src/bin/e_hwc_windows.c

index a87c4442fcd0750895620e1767f3199a188af94a..1a8c31a7c9ba9f62b4cc79a6e8ac9696e40dd409 100644 (file)
@@ -2111,7 +2111,7 @@ _e_hwc_windows_transition_check(E_Hwc *hwc)
             (e_hwc_window_transition_get(hwc_window) == E_HWC_WINDOW_TRANSITION_NONE_TO_NONE))
           continue;
 
-        if (hwc_window->transition_failures > target_hwc_window->max_transition_failures)
+        if (hwc_window->transition_failures > root_target_hwc_window->max_transition_failures)
           continue;
 
         if ((((E_Hwc_Window *)target_hwc_window)->display.buffer.tsurface) ==