From 8c5f17e321300e1edf91ba2afd432e2642fc2309 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 6 Aug 2024 18:37:13 +0900 Subject: [PATCH] e_hwc_windows: set the changed flag when the pending update data is updated Change-Id: I4eb5ee4ef4eed22a88b16fb89b2db2075f98edee --- src/bin/displaymgr/e_hwc_window.c | 4 ++++ src/bin/displaymgr/e_hwc_windows.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/bin/displaymgr/e_hwc_window.c b/src/bin/displaymgr/e_hwc_window.c index 77e3f8c..742aef0 100644 --- a/src/bin/displaymgr/e_hwc_window.c +++ b/src/bin/displaymgr/e_hwc_window.c @@ -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) diff --git a/src/bin/displaymgr/e_hwc_windows.c b/src/bin/displaymgr/e_hwc_windows.c index 266e43a..820bb12 100644 --- a/src/bin/displaymgr/e_hwc_windows.c +++ b/src/bin/displaymgr/e_hwc_windows.c @@ -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)); } } -- 2.7.4