From: Doyoun Kang Date: Mon, 17 Dec 2018 00:43:35 +0000 (+0900) Subject: e_comp_wl_shell: add error log for map window X-Git-Tag: accepted/tizen/unified/20181217.142022~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F195620%2F2;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl_shell: add error log for map window Change-Id: I03f6953f36fdf2a65e72b9cad03ef60696fc9ec3 --- diff --git a/src/bin/e_comp_wl_shell.c b/src/bin/e_comp_wl_shell.c index b250eb2..1aebf1e 100644 --- a/src/bin/e_comp_wl_shell.c +++ b/src/bin/e_comp_wl_shell.c @@ -1340,8 +1340,17 @@ e_shell_e_client_map(E_Client *ec) EINA_SAFETY_ON_NULL_RETURN(ec); - if ((ec->comp_data->mapped) || (!e_pixmap_usable_get(ec->pixmap))) - return; + if (ec->comp_data->mapped) + { + ELOGF("SHELL", "Map window | Already mapped.", ec->pixmap, ec); + return; + } + + if (!e_pixmap_usable_get(ec->pixmap)) + { + ELOGF("SHELL", "Map window | No operation. Pixmap(%p) is not usable.", ec->pixmap, ec, ec->pixmap); + return; + } cw = ec->w; ch = ec->h;