discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=541e33fc73a863e9dcee12078c50964277451f17

commit 541e33fc73a863e9dcee12078c50964277451f17
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 4 16:23:39 2017 -0400

    don't arbitrarily bind version=1 for wl extension resources
---
 src/bin/e_comp_wl_extensions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 2d272dce6..ef9eae3d5 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -967,11 +967,11 @@ e_comp_wl_extension_action_route_interface_get(int 
*version)
 
 #define GLOBAL_BIND_CB(NAME, IFACE, ...) \
 static void \
-_e_comp_wl_##NAME##_cb_bind(struct wl_client *client, void *data EINA_UNUSED, 
uint32_t version EINA_UNUSED, uint32_t id) \
+_e_comp_wl_##NAME##_cb_bind(struct wl_client *client, void *data EINA_UNUSED, 
uint32_t version, uint32_t id) \
 { \
    struct wl_resource *res; \
 \
-   if (!(res = wl_resource_create(client, &(IFACE), 1, id))) \
+   if (!(res = wl_resource_create(client, &(IFACE), version, id))) \
      { \
         ERR("Could not create %s interface", #NAME);\
         wl_client_post_no_memory(client);\

-- 


Reply via email to