wl_desktop_shell: revert version of tizen_surface_interface from 2 to 1 74/148174/2
authorJunSeok, Kim <juns.kim@samsung.com>
Thu, 7 Sep 2017 10:14:58 +0000 (19:14 +0900)
committerJunSeok, Kim <juns.kim@samsung.com>
Thu, 7 Sep 2017 10:14:58 +0000 (19:14 +0900)
Tizen_surface interface version is reverted from 2 to 1. So, changed
version of serverside implementation.

Change-Id: Ic3044cb1232a0a542682f9e07f10923fe40cec89

src/modules/wl_desktop_shell/e_mod_main.c

index 5522d7f..d7d3ab1 100644 (file)
@@ -1693,7 +1693,7 @@ _e_tz_surf_cb_bind(struct wl_client *client, void *data, uint32_t version, uint3
 
    if (!(res = wl_resource_create(client,
                                   &tizen_surface_interface,
-                                  MIN(version, 2),
+                                  version,
                                   id)))
      {
         ERR("Could not create tizen_surface resource: %m");
@@ -1744,7 +1744,7 @@ e_modapi_init(E_Module *m)
 
    if (!wl_global_create(e_comp_wl->wl.disp,
                          &tizen_surface_interface,
-                         2,
+                         1,
                          e_comp->wl_comp_data,
                          _e_tz_surf_cb_bind))
      {