e_hwc_window_queue: skip setting backup buffer even if client has buffer 68/269568/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 18 Jan 2022 08:09:56 +0000 (17:09 +0900)
committerchangyeon lee <cyeon.lee@samsung.com>
Tue, 18 Jan 2022 09:03:51 +0000 (09:03 +0000)
client can have buffer even if client is iconify and buffer flush is enabled
because buffer of client is cleared when buffer flush timer is expired
however client wait new buffer is attached when client change to uniconify
backup buffer is not needed in this case

Change-Id: I15beb8824f71ffa6f4bf39b319abe7795ec3fa40

src/bin/e_hwc_window_queue.c

index 7600390..0dbce02 100644 (file)
@@ -984,8 +984,7 @@ _e_hwc_window_queue_prepare_unset(E_Hwc_Window_Queue *queue)
 
    if(!hwc_window->ec) return;
 
-   if ((!_comp_wl_buffer_get(hwc_window->ec)) &&
-       (!evas_object_visible_get(hwc_window->ec->frame)) &&
+   if ((!evas_object_visible_get(hwc_window->ec->frame)) &&
        (hwc_window->ec->exp_iconify.buffer_flush) &&
        (e_policy_visibility_client_is_iconic(hwc_window->ec)))
     return;