summaryrefslogtreecommitdiff
path: root/src/bin/e_comp_wl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_comp_wl.c')
-rw-r--r--src/bin/e_comp_wl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 4c644b3fa..467072cde 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1574,7 +1574,7 @@ _e_comp_wl_compositor_cb_bind(struct wl_client *client, void *data EINA_UNUSED,
1574 1574
1575 if (!(res = 1575 if (!(res =
1576 wl_resource_create(client, &wl_compositor_interface, 1576 wl_resource_create(client, &wl_compositor_interface,
1577 MIN(version, COMPOSITOR_VERSION), id))) 1577 version, id)))
1578 { 1578 {
1579 ERR("Could not create compositor resource: %m"); 1579 ERR("Could not create compositor resource: %m");
1580 wl_client_post_no_memory(client); 1580 wl_client_post_no_memory(client);
@@ -2010,7 +2010,7 @@ _e_comp_wl_subcompositor_cb_bind(struct wl_client *client, void *data EINA_UNUSE
2010 2010
2011 if (!(res = 2011 if (!(res =
2012 wl_resource_create(client, &wl_subcompositor_interface, 2012 wl_resource_create(client, &wl_subcompositor_interface,
2013 MIN(version, 1), id))) 2013 version, id)))
2014 { 2014 {
2015 ERR("Could not create subcompositor resource: %m"); 2015 ERR("Could not create subcompositor resource: %m");
2016 wl_client_post_no_memory(client); 2016 wl_client_post_no_memory(client);
@@ -2426,7 +2426,7 @@ _e_comp_wl_cb_output_bind(struct wl_client *client, void *data, uint32_t version
2426 if (!(output = data)) return; 2426 if (!(output = data)) return;
2427 2427
2428 resource = 2428 resource =
2429 wl_resource_create(client, &wl_output_interface, MIN(version, 2), id); 2429 wl_resource_create(client, &wl_output_interface, version, id);
2430 if (!resource) 2430 if (!resource)
2431 { 2431 {
2432 wl_client_post_no_memory(client); 2432 wl_client_post_no_memory(client);