deny map bug fixed for transform core when xdg shell surface map 14/80214/3
authorJunghwan Choi <jhhh.choi@samsung.com>
Fri, 15 Jul 2016 08:28:44 +0000 (17:28 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 25 Jul 2016 13:28:28 +0000 (22:28 +0900)
Change-Id: I76f66ff7939483b5221497ff7dd553901a83c5ba
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
src/modules/wl_desktop_shell/e_mod_main.c

index edeef528a9e0a54e76333d4e19d286a194480aa6..512c96752b9d0d905fe70c83475d1b79422c34f9 100644 (file)
@@ -1137,7 +1137,12 @@ _e_xdg_shell_surface_map(struct wl_resource *resource)
         int cw = ec->w;
         int ch = ec->h;
         e_pixmap_size_get(ec->pixmap, &pw, &ph);
-        e_client_geometry_get(ec, NULL, NULL, &cw, &ch);
+        evas_object_geometry_get(ec->frame, NULL, NULL, &cw, &ch);
+        if (cw == 0 && ch == 0)
+          {
+             cw = ec->w;
+             ch = ec->h;
+          }
 
         if (pw != cw || ph != ch)
           {