discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8d5ab29625e374d12e7823dec89ecd009e3e1719

commit 8d5ab29625e374d12e7823dec89ecd009e3e1719
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Feb 2 12:41:18 2015 -0500

    don't create wl clients as re_manage
---
 src/bin/e_comp_wl.c                       | 2 +-
 src/modules/wl_desktop_shell/e_mod_main.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 4a54d85..24c7c9e 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1917,7 +1917,7 @@ _e_comp_wl_subcompositor_cb_subsurface_get(struct 
wl_client *client EINA_UNUSED,
    if (!ec)
      {
         /* no client exists for this pixmap yet */
-        if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+        if (!(ec = e_client_new(NULL, ep, 0, 0)))
           {
              ERR("Failed to create new client");
              wl_resource_post_no_memory(resource);
diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index 5ea062d..2de403a 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -567,7 +567,7 @@ _e_shell_cb_shell_surface_get(struct wl_client *client, 
struct wl_resource *reso
    if (!ec)
      {
         /* no client found. not internal window. maybe external client app ? */
-        if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+        if (!(ec = e_client_new(NULL, ep, 0, 0)))
           {
              wl_resource_post_error(surface_resource, 
                                     WL_DISPLAY_ERROR_INVALID_OBJECT, 
@@ -1144,7 +1144,7 @@ _e_xdg_shell_cb_surface_get(struct wl_client *client, 
struct wl_resource *resour
    if (!ec)
      {
         /* no client found. not internal window. maybe external client app ? */
-        if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 0)))
+        if (!(ec = e_client_new(NULL, ep, 0, 0)))
           {
              wl_resource_post_error(surface_resource, 
                                     WL_DISPLAY_ERROR_INVALID_OBJECT, 
@@ -1246,7 +1246,7 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, 
struct wl_resource *resource
    if (!ec)
      {
         /* no client found. create one */
-        if (!(ec = e_client_new(e_util_comp_current_get(), ep, 1, 1)))
+        if (!(ec = e_client_new(NULL, ep, 0, 1)))
           {
              wl_resource_post_error(surface_resource, 
                                     WL_DISPLAY_ERROR_INVALID_OBJECT, 

-- 


Reply via email to