summaryrefslogtreecommitdiff
path: root/src/modules/wl_desktop_shell/e_mod_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/wl_desktop_shell/e_mod_main.c')
-rw-r--r--src/modules/wl_desktop_shell/e_mod_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c
index 040c427d6..c18abad48 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -1323,7 +1323,7 @@ _e_shell_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t vers
1323{ 1323{
1324 struct wl_resource *res; 1324 struct wl_resource *res;
1325 1325
1326 if (!(res = wl_resource_create(client, &wl_shell_interface, MIN(version, 1), id))) 1326 if (!(res = wl_resource_create(client, &wl_shell_interface, version, id)))
1327 { 1327 {
1328 wl_client_post_no_memory(client); 1328 wl_client_post_no_memory(client);
1329 return; 1329 return;
@@ -1340,7 +1340,7 @@ _e_xdg_shell_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t
1340{ 1340{
1341 struct wl_resource *res; 1341 struct wl_resource *res;
1342 1342
1343 if (!(res = wl_resource_create(client, &xdg_shell_interface, MIN(version, 1), id))) 1343 if (!(res = wl_resource_create(client, &xdg_shell_interface, version, id)))
1344 { 1344 {
1345 wl_client_post_no_memory(client); 1345 wl_client_post_no_memory(client);
1346 return; 1346 return;