From ea3b0d9b354bc35a9d3c0d6ef6080e069a933ddd Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Tue, 27 Nov 2018 10:20:59 +0900 Subject: [PATCH] e_hwc_windows: update the visible windows at first Change-Id: I6732a757ec0fcfde03340cc8ba6fee82685847c5 --- src/bin/e_hwc_windows.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index e286553..bfef39b 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -1257,6 +1257,10 @@ _e_hwc_windows_changes_update(E_Hwc *hwc) Eina_Bool update_changes = EINA_FALSE; const Eina_List *l; + /* update the the visible windows */ + if (_e_hwc_windows_visible_windows_update(hwc)) + update_changes = EINA_TRUE; + /* fetch the target buffer */ if (e_hwc_window_target_buffer_fetch(hwc->target_hwc_window)) // try aquire update_changes = EINA_TRUE; @@ -1281,10 +1285,6 @@ _e_hwc_windows_changes_update(E_Hwc *hwc) update_changes = EINA_TRUE; } - /* update the the visible windows */ - if (_e_hwc_windows_visible_windows_update(hwc)) - update_changes = EINA_TRUE; - /* update the states of the visible windows when there is something to update */ if (update_changes) _e_hwc_windows_visible_windows_states_update(hwc); -- 2.7.4