e_xdg_shell_v6: allow to get toplv iface when pixmap_usable is TRUE 84/181784/1 accepted/tizen/unified/20180619.141923 submit/tizen/20180618.085127
authorJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 18 Jun 2018 08:36:53 +0000 (17:36 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 18 Jun 2018 08:37:08 +0000 (17:37 +0900)
client get toplv interface when show.
sometimes, it attached buffer(means rendering) ahead of toplv iface get
- wl_surface has created and rendered in background before show request
- there's wrapping lib. for a client to set titlei(by zxdg_toplevel_v6)
  in this case, there are no grantee that if there is commit buffer already or not.

Change-Id: Id495801d1c92258b85d0c18257a3c5db377e45ad

src/bin/e_xdg_shell_v6.c

index 74915084b2058c6debea2771239a678d8983b637..2f193eb2e881addb8a096f7885fd1327d2ac8917 100644 (file)
@@ -151,14 +151,6 @@ _e_client_shsurface_assignable_check(E_Client *ec)
         return EINA_FALSE;
      }
 
-   if (e_pixmap_usable_get(ec->pixmap))
-     {
-        wl_resource_post_error(ec->comp_data->surface,
-                               ZXDG_SURFACE_V6_ERROR_UNCONFIGURED_BUFFER,
-                               "buffer attached/committed before configure");
-        return EINA_FALSE;
-     }
-
    return EINA_TRUE;
 }