e_hwc_windows: update the visible windows at first 34/194034/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 27 Nov 2018 01:20:59 +0000 (10:20 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 28 Nov 2018 10:34:02 +0000 (19:34 +0900)
Change-Id: I6732a757ec0fcfde03340cc8ba6fee82685847c5

src/bin/e_hwc_windows.c

index e286553a97da79a8a82ccb93a7072c6c7f9d294f..bfef39b2b48f0e1993f81022f3b9448abb379655 100644 (file)
@@ -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);