e_hwc_window: use e_view_client_external_type 09/323409/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 25 Apr 2025 02:17:00 +0000 (11:17 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 28 Apr 2025 06:28:31 +0000 (15:28 +0900)
instead of e_comp_object_content_type

Change-Id: I45ac95a9f0995febf622a6285a6ab7c5dfc0efd4

src/bin/displaymgr/e_hwc_window.c

index 7ade4c8b130748785c391eb5a6aad258189a3f62..0123183e2d7782b8c575d5a592422da1aa8e64be 100644 (file)
@@ -961,7 +961,7 @@ _e_hwc_window_cb_content_type_set(struct wl_listener *listener, void *data)
    hwc_window = container_of(listener, E_Hwc_Window, content_type_set_listener);
    if (!hwc_window->ec) return;
 
-   if (e_view_client_content_type_get(e_client_view_get(hwc_window->ec)) != E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE)
+   if (e_view_client_external_view_type_get(e_client_view_get(hwc_window->ec)) != E_VIEW_CLIENT_EXTERNAL_VIEW_TYPE_NONE)
      e_hwc_window_restriction_set(hwc_window, E_HWC_WINDOW_RESTRICTION_CONTENT_IMAGE);
    else
      e_hwc_window_restriction_unset(hwc_window, E_HWC_WINDOW_RESTRICTION_CONTENT_IMAGE);