e_compositor: Remove redundant check 11/316311/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 12 Aug 2024 06:32:43 +0000 (15:32 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 19 Aug 2024 08:09:01 +0000 (17:09 +0900)
Now that the _e_surface_cb_client_del is registered from surface
impelmentation, it's unnecessary to check to see if the given pixmap
type is wayland.

Change-Id: I6b7fb9fd1263fd72d08a7039d79c9ea08c72753a

src/bin/server/e_compositor.c

index c876291..edbf5d3 100644 (file)
@@ -1403,9 +1403,6 @@ _e_surface_cb_client_del(void *data, E_Client *ec)
    if (surface->ec != ec)
      return;
 
-   /* make sure this is a wayland client */
-   if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
-
    TRACE_DS_BEGIN(COMP_WL:CLIENT DEL CB);
 
    e_comp_wl_hook_call(E_COMP_WL_HOOK_DEL, ec);