From e037f3964196ff056cc1de282c1b1bc01202df1e Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 17 Dec 2018 09:43:35 +0900 Subject: [PATCH] e_comp_wl_shell: add error log for map window Change-Id: I03f6953f36fdf2a65e72b9cad03ef60696fc9ec3 --- src/bin/e_comp_wl_shell.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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; -- 2.7.4