e_hwc_window: sync present subsurface when parent subsurface call synchronize commit 76/316976/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 18 Jul 2024 10:22:33 +0000 (19:22 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 2 Sep 2024 06:32:20 +0000 (15:32 +0900)
Change-Id: If8012cee8e5272a6670323b04b99bacf24484ae3

src/bin/displaymgr/e_hwc_window.c

index 742aef0113319963a7209f1f54dec78ff6a3e234..de7e90de55d51b06116e1a6e8b70ccd48537957d 100644 (file)
@@ -1288,10 +1288,6 @@ _e_hwc_window_cb_subsurface_synchronized_commit(void *data, E_Client *ec)
    EINA_SAFETY_ON_NULL_RETURN(ec);
    if ((!ec->hwc_window) || (!e_comp_wl_subsurface_check(ec))) return;
 
-   state = e_hwc_window_accepted_state_get(ec->hwc_window);
-   if ((state != E_HWC_WINDOW_STATE_DEVICE) && (state != E_HWC_WINDOW_STATE_VIDEO))
-     return;
-
    parent = e_comp_wl_subsurface_parent_get(ec);
    while (parent)
      {
@@ -1309,7 +1305,7 @@ _e_hwc_window_cb_subsurface_synchronized_commit(void *data, E_Client *ec)
      }
 
    if (need_sync)
-     e_hwc_window_present_sync(ec->hwc_window);
+     _e_hwc_window_client_subsurface_present_sync(ec);
 }
 
 static void