discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3a561bb00aff44644916bc100aaa341dfdcda1e0

commit 3a561bb00aff44644916bc100aaa341dfdcda1e0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 26 10:51:20 2016 -0400

    ignore xwl clients when flagging wl surfaces as internal
    
    fix T4430
---
 src/bin/e_comp_wl.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 79689d2..7e982ed 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1784,7 +1784,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client 
*client, struct wl_reso
                                   _e_comp_wl_surface_destroy);
 
    wl_client_get_credentials(client, &pid, NULL, NULL);
-   if (pid == getpid()) //internal!
+   if ((client != e_comp_wl->xwl_client) && (pid == getpid())) //internal!
      ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, (int64_t)id);
    if (ec)
      {
@@ -1818,7 +1818,8 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client 
*client, struct wl_reso
      ec->client.w = ec->client.h = 1;
    ec->comp_data->surface = res;
    ec->netwm.pid = pid;
-   ec->internal = pid == getpid();
+   if (client != e_comp_wl->xwl_client)
+     ec->internal = pid == getpid();
 
    /* set reference to pixmap so we can fetch it later */
    DBG("\tUsing Client: %p", ec);

-- 


Reply via email to