e_comp_wl_shell: add error log for map window 20/195620/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 17 Dec 2018 00:43:35 +0000 (09:43 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 17 Dec 2018 01:36:34 +0000 (01:36 +0000)
Change-Id: I03f6953f36fdf2a65e72b9cad03ef60696fc9ec3

src/bin/e_comp_wl_shell.c

index b250eb2..1aebf1e 100644 (file)
@@ -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;