From: Seunghun Lee Date: Mon, 12 Aug 2024 06:32:43 +0000 (+0900) Subject: e_compositor: Remove redundant check X-Git-Tag: accepted/tizen/unified/20240820.163511~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6811a9fedfad9ecf30211d78d33f31673a8ed1ca;p=platform%2Fupstream%2Fenlightenment.git e_compositor: Remove redundant check 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 --- diff --git a/src/bin/server/e_compositor.c b/src/bin/server/e_compositor.c index c876291330..edbf5d3461 100644 --- a/src/bin/server/e_compositor.c +++ b/src/bin/server/e_compositor.c @@ -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);