e_hwc_windows: set the changed flag when the pending update data is updated 18/315718/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 6 Aug 2024 09:37:13 +0000 (18:37 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 7 Aug 2024 02:55:05 +0000 (11:55 +0900)
Change-Id: I4eb5ee4ef4eed22a88b16fb89b2db2075f98edee

src/bin/displaymgr/e_hwc_window.c
src/bin/displaymgr/e_hwc_windows.c

index 77e3f8c707ef7f517bb0b86d8577da76a09712d0..742aef0113319963a7209f1f54dec78ff6a3e234 100644 (file)
@@ -3058,6 +3058,8 @@ e_hwc_window_pending_update_data_dequeue_cancel(E_Hwc_Window *hwc_window, E_Hwc_
    e_comp_wl_buffer_reference(&update->buffer_ref, NULL);
    e_hwc_window_buffer_set(&update->buffer, NULL, NULL, 0);
 
+   e_hwc_window_changed_set(hwc_window, E_HWC_WINS_CHANGED_WIN_BUFFER|E_HWC_WINS_CHANGED_WIN_GEOMETRY);
+
    hwc_window->pending_update_list = eina_list_remove(hwc_window->pending_update_list, update);
 
    if (update->hwc_window)
@@ -3093,6 +3095,8 @@ e_hwc_window_pending_update_data_enqueue(E_Hwc_Window *hwc_window, E_Hwc_Window_
    e_comp_wl_buffer_reference(&update->buffer_ref, NULL);
    e_hwc_window_buffer_set(&update->buffer, NULL, NULL, 0);
 
+   e_hwc_window_changed_set(hwc_window, E_HWC_WINS_CHANGED_WIN_BUFFER|E_HWC_WINS_CHANGED_WIN_GEOMETRY);
+
    hwc_window->pending_update_list = eina_list_remove(hwc_window->pending_update_list, update);
 
    if (update->hwc_window)
index 266e43afca153b5771814a2e8b4f5d16e273c97e..820bb122f349c64c081488175fed3176569dc673 100644 (file)
@@ -1148,6 +1148,7 @@ _e_hwc_windows_pending_update_data_clear(E_Hwc_Window_Target *root_target_hwc_wi
         EINA_LIST_FREE(target_hwc_window->present_sync_windows, hwc_window)
           {
              hwc_window->present_sync = EINA_FALSE;
+             e_hwc_window_changed_set(hwc_window, E_HWC_WINS_CHANGED_WIN_BUFFER|E_HWC_WINS_CHANGED_WIN_GEOMETRY);
              e_object_unref(E_OBJECT(hwc_window));
           }
      }